VFSDir.files

Get a range of files in the directory.

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

Parameters

glob
Type: string

Glob pattern used to filter the results. If null (default), all files will be returned. Otherwise only files 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: VFSFiles

Range of the files.

Throws

VFSNotFoundException if the directory does not exist.

See Also

Meta