Struct gix_archive::Options
source · pub struct Options {
pub format: Format,
pub tree_prefix: Option<String>,
pub modification_time: SystemTime,
}Expand description
Options for configuring write_to().
Fields§
§format: FormatThe archive’s format.
tree_prefix: Option<String>Given a path, originating in the git tree, to place into the archive, put <prefix>/path in front of it.
modification_time: SystemTimeThe modification time for all entries in the archive.
Defaults to the current time. The caller may set this to the commit time if available.