Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 2.1 KB

File metadata and controls

30 lines (20 loc) · 2.1 KB

IVirtualFileSystem.TryGetDirectory(VFSDirectoryPath, IDirectoryNode) Method

Try to get a directory node by its path. The path must be absolute. If the directory node does not exist, this method returns false and directory is set to null.

bool TryGetDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath directoryPath, out Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode? directory);

Parameters

directoryPath VFSDirectoryPath

The path of the directory node.

directory IDirectoryNode

The directory node.

Returns

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