Expand description
Interpreter for ALPM-MTREE v1 and v2.
Re-exports§
pub use crate::parser::PathType;
Structs§
- A directory type path statement in an mtree file.
- A file type path statement in an mtree file.
- A link type path in an mtree file that points to a file somewhere on the system.
- Represents a
/set
line in an MTREE file.
Enums§
- Represents the three possible types inside a path type line of an MTREE file.
Functions§
- content_
line πReturn the nth line of a given fileβs content. - ensure_
property πTake any given property and ensure that itβs set. - Parse the content of an MTREE v2 file.
- path_
from_ πparsed Create the actual final MTREE path representation from the parsed input. - Take unsanitized parsed content and convert it to a list of paths with properties.
- Serialize an
Option<Checksum<D>>
as a HexString. - Serialize an
Option<Checksum<D>>