Enumeration of file types. The types File and Directory can also be a symbolic links, in that case use FileType.File | FileType.SymbolicLink and FileType.Directory | FileType.SymbolicLink.

Variables

@:enum@:implread onlyDirectory:FileType

A directory.

@:enum@:implread onlyFile:FileType

A regular file.

@:enum@:implread onlySymbolicLink:FileType

A symbolic link to a file.

@:enum@:implread onlyUnknown:FileType

The file type is unknown.