Skip to main content

last_sync_version

Function last_sync_version 

Source
pub fn last_sync_version(root: &Path) -> Option<String>
Expand description

Read the recorded last-sync version from this clone’s git config. None if not a repo or the key is unset.

TODO: route through a Vcs::config_get trait method so non-Git backends can implement (ADR-010). Today it’s a GitVcs inherent method, which constrains the abstraction.