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]

[src]

Returns the file type for this metadata.

[src]

Returns whether this metadata is for a directory.

[src]

Returns whether this metadata is for a regular file.

[src]

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

[src]

Returns current version number of file listed in this metadata.

[src]

Returns the creation time listed in this metadata.

[src]

Returns the last modification time listed in this metadata.

Trait Implementations

impl Debug for Metadata
[src]

[src]

Formats the value using the given formatter.

impl Copy for Metadata
[src]

impl Clone for Metadata
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more