Skip to main content

Crate stree

Crate stree 

Source
Expand description

A directory hierarchy mapping format similar to mtree, but genuinely much simpler; without losing any informational value.

Unlike mtree, the lines (entries) in an STree have no state associated with them, lending itself to better parallelism and easy parsing.

Structs§

Checksum
Represents a file checksum, consisting of the hashing algorithm used and the hash itself
Comparison
Represents a comparison between an Entry and a file on-disk
Comparisons
Represents a comparison between a two Tree instances
Device
Represents information related to a regular (or special for character/block) device.
Entry
EntryConfig
Builder for configuring a Tree scan
Mode
Fully represents the file permissions from a libc::mode_t
Permission
Models one set of file permissions
Time
Represents a libc::timespec, seconds and nanoseconds
Tree
A directory hierarchy

Enums§

Error
Represents an error from the stree crate
FileType
Represents the various fundamental file types on unix like systems
Hash
Supported checksum hash algorithms for entries