Struct zbox::Metadata[][src]

pub struct Metadata { /* fields omitted */ }

Metadata information about a file or a directory.

This structure is returned from the File::metadata and Repo::metadata represents known metadata about a file such as its type, size, modification times, etc.

Methods

impl Metadata
[src]

Returns the file type for this metadata.

Returns whether this metadata is for a directory.

Returns whether this metadata is for a regular file.

Returns the size of the current version of file, in bytes, this metadata is for.

Returns current version number of file listed in this metadata.

Returns the creation time listed in this metadata.

Returns the last modification time listed in this metadata.

Trait Implementations

impl Debug for Metadata
[src]

Formats the value using the given formatter. Read more

impl Copy for Metadata
[src]

impl Clone for Metadata
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Metadata> for CMetadata
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Metadata

impl Sync for Metadata