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