alpm_mtree

Module parser

Source
Expand description

Low-level parser for MTREE files. Youโ€™ll likely want to use parse_mtree_v2 instead.

Enumsยง

  • This type is used in a path line to define properties for that path.
  • All allowed kinds of path types.
  • Represents the properties that may be set in /set lines.
  • Each line represents a line in a .MTREE file.
  • Represents the properties that can be unset by /unset lines.

Functionsยง

  • link ๐Ÿ”’
    Consume all chars of a link until a newline or space is hit.
  • md5 ๐Ÿ”’
    Parse an MD5 hash.
  • mode ๐Ÿ”’
    Parse a filesystem mode.
  • Parse a given .MTREE file.
  • properties ๐Ÿ”’
    Parse all path related properties that follow after a path declaration.
  • property ๐Ÿ”’
    Parse a single property.
  • set_properties ๐Ÿ”’
    Parse all properties that follow a /set command.
  • set_property ๐Ÿ”’
    Parse a single /set property.
  • sha256 ๐Ÿ”’
    Parse a SHA-256 hash.
  • size ๐Ÿ”’
    Get a string representing a size by consuming all integers.
  • statement ๐Ÿ”’
    Parse the next statement in the file.
  • system_id ๐Ÿ”’
    Parse a simple system id as usize.
  • timestamp ๐Ÿ”’
    Parse a Unix timestamp.
  • unset_properties ๐Ÿ”’
    Parse all properties that follow an /unset command. E.g. /unset uid gid โ†‘ โ†‘ This part
  • unset_property ๐Ÿ”’
    Parse a single /unset property.