(root: PathBuf)
| 45 | |
| 46 | impl RepoHandle { |
| 47 | pub fn new(root: PathBuf) -> Self { |
| 48 | Self { |
| 49 | root, |
| 50 | gate: std::sync::Arc::new(tokio::sync::Mutex::new(())), |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | /// Serialize repository database access: at most one open handle at a |
| 55 | /// time for this repository. Acquire before any domain call. |
nothing calls this directly
no outgoing calls
no test coverage detected