예제 #1
0
파일: KfsStatusView.cs 프로젝트: tmbx/kwm
 /// <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;
 }
예제 #2
0
파일: KfsGate.cs 프로젝트: tmbx/kwm
 /// <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);
 }