Ejemplo n.º 1
0
 /// <returns>true if the given inode is an ancestor directory of this inode.</returns>
 public bool IsAncestorDirectory(INodeDirectory dir)
 {
     for (INodeDirectory p = GetParent(); p != null; p = p.GetParent())
     {
         if (p == dir)
         {
             return(true);
         }
     }
     return(false);
 }