Struct openat::Metadata [] [src]

pub struct Metadata { /* fields omitted */ }

A file metadata

Because we can't freely create a std::fs::Metadata object we have to implement our own structure.

Methods

impl Metadata
[src]

[src]

Returns simplified type of the directory entry

[src]

Returns underlying stat structure

[src]

Returns true if the entry is a regular file

[src]

Returns true if the entry is a directory

[src]

Returns permissions of the entry

[src]

Returns file size