MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / set_lock_path

Function set_lock_path

rust/src/lock.rs:91–95  ·  view source on GitHub ↗
(path: Option<PathBuf>)

Source from the content-addressed store, hash-verified

89}
90
91fn set_lock_path(path: Option<PathBuf>) {
92 LOCK_PATH.with(|lock_path| {
93 *lock_path.borrow_mut() = path;
94 });
95}
96
97fn get_lock_path() -> Option<PathBuf> {
98 LOCK_PATH.with(|lock_path| lock_path.borrow().clone())

Callers 2

acquireMethod · 0.85
releaseMethod · 0.85

Calls 1

withMethod · 0.65

Tested by

no test coverage detected