Skip to main content

run_sync

Function run_sync 

Source
pub fn run_sync(root: &Path, current_version: &str) -> Result<(), JoyError>
Expand description

One-shot core-side sync of a repo against the current binary: ensure_lazy_activation + stamp joy.last-sync-version. The full joy update orchestrator wraps this with the auth and AI refresh routines (see joy-cli’s commands::update::run_full_sync).