FileSystemValidator

FileSystem validator.

Constructors

this
this(bool exists)

Creates new FileSystem validator.

this
this(FileType type)

Creates new FileSystem validator.

Members

Functions

validate
void validate(IEntry entry, string[] args)

Validates input

Variables

exists
Nullable!bool exists;

Exists contraint

type
Nullable!FileType type;

Entry type contraint

Inherited Members

From IValidator

validate
void validate(IEntry entry, string[] values)

Checks whenever specified input is valid.

See Also

acceptsFiles, acceptsDirectories, acceptsPath

Meta