struct DirEntry
pub struct DirEntry
An entry of a directory, from readDir: its name, its path — the directory's joined with the name —, and what the entry is itself: a link is reported as a link, not as what it leads to.
Fields
pub name: string
pub path: string
pub isFile: bool
pub isDir: bool
pub isSymlink: bool
Methods
pub fn metadata(): Metadata throws IoError
Returns the Metadata of what the entry names, following a link, as metadata does.