pub struct SnapshotConfig {
pub src_dir: PathBuf,
pub ledger_path: PathBuf,
pub version: Version,
pub snapshot_store: Option<PathBuf>,
}Expand description
Configuration for the crate-seq snapshot command.
Fields§
§src_dir: PathBufDirectory of the crate to snapshot (must contain Cargo.toml).
ledger_path: PathBufPath to the crate’s .crate-seq.toml ledger.
version: VersionVersion to record.
snapshot_store: Option<PathBuf>Directory where tarballs are stored. Defaults to .crate-seq-snapshots/ next to the ledger.
Auto Trait Implementations§
impl Freeze for SnapshotConfig
impl RefUnwindSafe for SnapshotConfig
impl Send for SnapshotConfig
impl Sync for SnapshotConfig
impl Unpin for SnapshotConfig
impl UnsafeUnpin for SnapshotConfig
impl UnwindSafe for SnapshotConfig
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