pub fn load(root: &Path) -> Result<LockFile, MarsError>Expand description
Load the lock file from the given root directory.
Returns an empty LockFile (v2) if the file is absent. V1 lock files are transparently promoted to the v2 in-memory shape (D19): the lock is only written as v2 after a successful sync.