pub fn with_state_timeout<F>(
repo_root: &Path,
home_override: Option<&Path>,
lock_timeout_ms: u64,
f: F,
) -> Result<StateV2, WorktreeError>Expand description
Like with_state but takes an explicit lock acquisition timeout.
pub fn with_state_timeout<F>(
repo_root: &Path,
home_override: Option<&Path>,
lock_timeout_ms: u64,
f: F,
) -> Result<StateV2, WorktreeError>Like with_state but takes an explicit lock acquisition timeout.