VfsFolders

Operations upon a set of folders.

Members

Functions

bytes
ulong bytes()

Return the total size of contained files.

catalog
VfsFiles catalog(VfsFilter filter)

Return a set of files matching the given filter.

catalog
VfsFiles catalog(istring pattern)

Return a set of files matching the given pattern.

entries
uint entries()

Return the total number of entries (files + folders.)

files
uint files()

Return the number of files.

folders
uint folders()

Return the number of folders.

opApply
int opApply(int delegate(ref VfsFolder) dg)

Iterate over the set of contained VfsFolder instances.

subset
VfsFolders subset(istring pattern)

Return a subset of folders matching the given pattern.

Meta