示例#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);
 }