VFSIndex.TryGetFile(VFSFilePath,IFileNode).md

January 20, 2026 ยท View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core.VFSIndex

VFSIndex.TryGetFile(VFSFilePath, IFileNode) Method

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

public bool TryGetFile(Atypical.VirtualFileSystem.Core.VFSFilePath filePath, out Atypical.VirtualFileSystem.Core.Contracts.IFileNode fileNode);

Parameters

filePath VFSFilePath

The file path.

fileNode IFileNode

The file node.

Returns

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