VFSPath.Depth.md

January 20, 2026 ยท View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core.VFSPath

VFSPath.Depth Property

Gets the depth of the file system entry. The root directory has a depth of 0. The depth of a file is the depth of its parent directory plus one. The depth of a directory is the depth of its parent directory plus one.

public int Depth { get; }

Property Value

System.Int32

Contents

  1. 0.1Atypical.VirtualFileSystem.Core.VFSPath
  2. 1VFSPath.Depth Property