MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / lock_path

Method lock_path

src/docker/proxy_manager.rs:100–102  ·  view source on GitHub ↗
(&self, fingerprint: &str)

Source from the content-addressed store, hash-verified

98 }
99
100 fn lock_path(&self, fingerprint: &str) -> PathBuf {
101 self.runtime_dir.join(format!("proxy-{fingerprint}.lock"))
102 }
103}
104
105/// Acquires an exclusive `flock(2)` on the given lock file path.

Callers 1

with_lockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected