Thanks to visit codestin.com
Credit goes to docs.rs

Crate chandler

Crate chandler 

Source
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§

FileMode
HeaderType models a tarball header type.
HeaderType
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_paths and 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.