Expand description
chandler assembles tape archives.
Structs§
- Chandler
- Chandler assembles gunzipped tarballs (TGZ, TAR.GZ).
- Condition
- Condition models an archive entry state.
- Rule
- Rule applies given permissions for matching file patterns.
Enums§
- File
Mode - HeaderType models a tarball header type.
- Header
Type - HeaderType models a tarball header type.
Statics§
- CONFIGURATION_
FILENAME - CONFIGURATION_FILENAME denotes the file path to an optional TOML configuration file, relative to the current working directory.
- DEFAULT_
HEADER_ TYPE - DEFAULT_HEADER_TYPE is UStar.
- DEFAULT_
NONEXECUTABLE_ FILE_ PATHS - DEFAULT_NONEXECUTABLE_FILE_PATHS matches UNIX and software development file paths which do not typically use executable permissions.
- DEFAULT_
RULES - DEFAULT_RULES implements common archive entry behaviors, such as marking most extensionless paths as chmod +x.
- DEFAULT_
SKIP_ PATHS - DEFAULT_SKIP_PATHS collects file paths commonly excluded from clean archives, such as file manager metadata files.
- EXTENSIONED_
FILE_ PATHS - EXTENSIONED_FILE_PATHS matches file paths with extensions, including file extensions (.BAT, .EXE, and so on), as well as file paths missing traditional basenames (.gitignore, .git, and so on).
- SKIP_
PATH_ PATTERN_ REPLACE_ TEMPLATE - SKIP_PATH_PATTERN_REPLACE_TEMPLATE combines with
skip_pathsand a pipe (|) delimited path string to form path exclusion patterns. - SYSTEM_
V_ INIT_ PATHS - SYSTEM_V_INIT_PATHS matches file paths within legacy SysVinit (etc/init.d) directory trees.
Functions§
- generate_
skip_ path_ pattern - generate_skip_path_pattern converts a collection of skip paths to a regex.
- permissions_
to_ u32 - permissions_to_u32 converts fs::Permissions objects to chmod integers.