pub struct SyncOptions {
pub prefix: Option<PathBuf>,
pub docker: Option<PathBuf>,
pub install: bool,
pub pull: bool,
pub all_models: bool,
pub exact: bool,
}Expand description
Where a sync materializes the setup.
Fields§
§prefix: Option<PathBuf>Materialize into an isolated config root under this directory instead of
the user’s real one (the “virtual environment” launch uses).
docker: Option<PathBuf>Materialize into a Docker build context: files land under <dir>/home.
install: boolLet hlock run package managers (npm, brew, uv, pip, install scripts).
pull: boolLet hlock download model weights through installed runtimes.
all_models: boolAlso fetch models a provider lists but no locked role uses.
exact: boolRemove skills in the harness’s skill directory that aren’t in the lock.
Trait Implementations§
Source§impl Clone for SyncOptions
impl Clone for SyncOptions
Source§fn clone(&self) -> SyncOptions
fn clone(&self) -> SyncOptions
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 moreSource§impl Debug for SyncOptions
impl Debug for SyncOptions
Source§impl Default for SyncOptions
impl Default for SyncOptions
Source§fn default() -> SyncOptions
fn default() -> SyncOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SyncOptionswhere
SyncOptions: Default,
impl<'de> Deserialize<'de> for SyncOptionswhere
SyncOptions: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SyncOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SyncOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SyncOptions
impl Serialize for SyncOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SyncOptions
impl RefUnwindSafe for SyncOptions
impl Send for SyncOptions
impl Sync for SyncOptions
impl Unpin for SyncOptions
impl UnsafeUnpin for SyncOptions
impl UnwindSafe for SyncOptions
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