/// <summary> /// This constructor creates the path but does NOT insert it in the view. /// </summary> /// <param name="S">Share</param> /// <param name="P">Local object, if any</param> /// <param name="N">Server object, if any</param> public KfsStatusPath(KfsShare s, String path, KfsLocalObject lo, KfsServerObject so) { Share = s; Path = path; Name = KfsPath.BaseName(path); LocalObject = lo; ServerObject = so; }
/// <summary> /// Add an operation to delete the ghost specified in the payload /// specified. /// </summary> private void DeleteGhost(KfsServerObject o, KfsPhase1Payload p) { Debug.Assert(o.IsGhost()); p.AddDeleteOp(true, o.Inode, o.CommitID); }