Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 2.23 KB

File metadata and controls

32 lines (21 loc) · 2.23 KB

VFS.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.

public 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.

Implements TryGetDirectory(VFSDirectoryPath, IDirectoryNode)

Returns

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