Skip to main content

read_lock

Function read_lock 

Source
pub fn read_lock(
    lock_root: &Path,
    overlay: &HashMap<PathBuf, String>,
) -> Result<Option<Lock>, LockError>
Expand description

Read the lock at lock_root: the overlay first, then the disk. Ok(None) when there is none.