struct Metadata
pub struct Metadata
What a path names, through links: its size in bytes, when it was last written, whether it is a file or a directory — neither, for a device or a socket —, whether it cannot be written; and whether the path itself is a link. A link that leads nowhere is not found.
Fields
pub size: int
pub modified: Instant
pub isFile: bool
pub isDir: bool
pub isSymlink: bool
pub readonly: bool