Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.4 KB

File metadata and controls

27 lines (17 loc) · 1.4 KB

VFSPathExtensions.IsDirectChildOf(this VFSPath, VFSPath) Method

Checks if a path is a child (direct descendant) of another path.

public static bool IsDirectChildOf(this Atypical.VirtualFileSystem.Core.VFSPath parentPath, Atypical.VirtualFileSystem.Core.VFSPath childPath);

Parameters

parentPath VFSPath

The potential parent path.

childPath VFSPath

The potential child path.

Returns

System.Boolean
True if childPath is a direct child of parentPath.