Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.37 KB

File metadata and controls

21 lines (14 loc) · 1.37 KB

VFSPathExtensions.GetAncestors(this VFSPath) Method

Gets all ancestor paths from the current path up to the root.

public static System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.VFSDirectoryPath> GetAncestors(this Atypical.VirtualFileSystem.Core.VFSPath path);

Parameters

path VFSPath

The VFS path.

Returns

System.Collections.Generic.IEnumerable<VFSDirectoryPath>
Collection of ancestor paths from immediate parent to root.