Struct mtree::Entry[][src]

pub struct Entry { /* fields omitted */ }

An entry in the mtree file.

Entries have a path to the entity in question, and a list of optional params.

Methods

impl Entry
[src]

The path of this entry

cksum The checksum of the file using the default algorithm specified by the cksum(1) utility.

device The device number for block or char file types.

contents The full pathname of a file that holds the contents of this file.

flags The file flags as a symbolic name.

gid The file group as a numeric value.

gname The file group as a symbolic name.

The name can be up to 32 chars and must match regex [a-z_][a-z0-9_-]*[$]?.

ignore Ignore any file hierarchy below this line.

inode The inode number.

link The target of the symbolic link when type=link.

md5|md5digest The MD5 message digest of the file.

mode The current file's permissions as a numeric (octal) or symbolic value.

nlink The number of hard links the file is expected to have.

nochange Make sure this file or directory exists but otherwise ignore all attributes.

optional The file is optional; do not complain about the file if it is not in the file hierarchy.

resdevice The "resident" device number of the file, e.g. the ID of the device that contains the file. Its format is the same as the one for device.

rmd160|rmd160digest|ripemd160digest The RIPEMD160 message digest of the file.

sha1|sha1digest The FIPS 160-1 ("SHA-1") message digest of the file.

sha256|sha256digest The FIPS 180-2 ("SHA-256") message digest of the file.

sha384|sha384digest The FIPS 180-2 ("SHA-384") message digest of the file.

sha512|sha512digest The FIPS 180-2 ("SHA-512") message digest of the file.

size The size, in bytes, of the file.

time The last modification time of the file.

type The type of the file.

The file owner as a numeric value.

The file owner as a symbolic name.

The name can be up to 32 chars and must match regex [a-z_][a-z0-9_-]*[$]?.

Trait Implementations

impl Debug for Entry
[src]

Formats the value using the given formatter. Read more

impl Clone for Entry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Entry
[src]

impl PartialEq for Entry
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Ord for Entry
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for Entry
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for Entry
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Entry
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Entry

impl Sync for Entry