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