pub struct CreateOptions {
pub root: PathBuf,
pub out: PathBuf,
pub lds_version: String,
pub compression_level: i32,
pub rules: PackRules,
pub dry_run: bool,
}Expand description
Inputs for create.
Fields§
§root: PathBufProject root to pack.
out: PathBufDestination archive path.
lds_version: StringVersion string recorded in the manifest.
compression_level: i32zstd compression level.
rules: PackRulesWhich names count as secrets and caches.
dry_run: boolClassify and build the manifest, but write no archive.
The point of a dry run is to answer “what would travel, and what would
be left behind?” — particularly after editing [pack] in config —
without producing a file that then has to be cleaned up.
Implementations§
Trait Implementations§
Source§impl Clone for CreateOptions
impl Clone for CreateOptions
Source§fn clone(&self) -> CreateOptions
fn clone(&self) -> CreateOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateOptions
impl RefUnwindSafe for CreateOptions
impl Send for CreateOptions
impl Sync for CreateOptions
impl Unpin for CreateOptions
impl UnsafeUnpin for CreateOptions
impl UnwindSafe for CreateOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more