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

Function set_lock_path

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

Source from the content-addressed store, hash-verified

84}
85
86fn set_lock_path(path: Option<PathBuf>) {
87 LOCK_PATH.with(|lock_path| {
88 *lock_path.borrow_mut() = path;
89 });
90}
91
92fn get_lock_path() -> Option<PathBuf> {
93 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