Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.39 KB

File metadata and controls

27 lines (17 loc) · 1.39 KB

VFSPathExtensions.IsAncestorOf(this VFSPath, VFSPath) Method

Checks if a path is a descendant of another path.

public static bool IsAncestorOf(this Atypical.VirtualFileSystem.Core.VFSPath ancestorPath, Atypical.VirtualFileSystem.Core.VFSPath descendantPath);

Parameters

ancestorPath VFSPath

The potential ancestor path.

descendantPath VFSPath

The potential descendant path.

Returns

System.Boolean
True if descendantPath is under ancestorPath.