pub struct DeployOpts {
pub config_path: PathBuf,
pub manifest_path: PathBuf,
pub platform: Option<Platform>,
pub dry_run: bool,
pub force: bool,
}Fields§
§config_path: PathBufAbsolute path to the .krypt.toml file driving the deploy. The
directory it lives in is treated as repo_root for source-path
resolution.
manifest_path: PathBufWhere to read + persist the deployment manifest. Defaults to
${XDG_STATE}/krypt/manifest.json; tests pass an explicit path.
platform: Option<Platform>Override the auto-detected platform. None = use cfg!(target_os).
dry_run: boolIf true, no filesystem mutation occurs. The returned report still describes what would have happened.
force: boolOn link, overwrite real conflicts (destinations with content
that doesn’t match any prior manifest entry). On unlink,
delete destinations even if they’ve drifted from the recorded
hash.
Trait Implementations§
Source§impl Clone for DeployOpts
impl Clone for DeployOpts
Source§fn clone(&self) -> DeployOpts
fn clone(&self) -> DeployOpts
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 DeployOpts
impl RefUnwindSafe for DeployOpts
impl Send for DeployOpts
impl Sync for DeployOpts
impl Unpin for DeployOpts
impl UnsafeUnpin for DeployOpts
impl UnwindSafe for DeployOpts
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