VFSDir.dirs

Get a range of subdirectories.

class VFSDir
dirs
@safe
(
Flag!"deep" deep = No.deep
,
string glob = null
)

Parameters

glob
Type: string

Glob pattern used to filter the results. If null (default), all subdirectories will be returned. Otherwise only subdirectories whose VFS paths within this directory match glob (case sensitive) will be returned. Some characters of _glob patterns have special meanings: For instance, *.txt matches any path ending with the .txt extension.

Return Value

Type: VFSDirs

Range of the directories.

Throws

VFSNotFoundException if the directory does not exist.

Meta