VFSIndex.TryGetDirectory(VFSDirectoryPath,IDirectoryNode).md

January 20, 2026 ยท View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core.VFSIndex

VFSIndex.TryGetDirectory(VFSDirectoryPath, IDirectoryNode) Method

Tries to get the directory node at the specified directory path.

public bool TryGetDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath directoryPath, out Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode directoryNode);

Parameters

directoryPath VFSDirectoryPath

The directory path.

directoryNode IDirectoryNode

The directory node.

Returns

System.Boolean
true if the directory node exists; otherwise, false.