VFSPathExtensions.IsAtDepth(thisVFSPath,int).md

January 20, 2026 ยท View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core.Extensions.VFSPathExtensions

VFSPathExtensions.IsAtDepth(this VFSPath, int) Method

Checks if the path is at a specific depth.

public static bool IsAtDepth(this Atypical.VirtualFileSystem.Core.VFSPath path, int depth);

Parameters

path VFSPath

The VFS path.

depth System.Int32

The depth to check.

Returns

System.Boolean
True if the path is at the specified depth.