The remote sandbox the current directory is in, if any: its root and pointer.
()
| 68 | /// The remote sandbox the current directory is in, if any: its root and |
| 69 | /// pointer. |
| 70 | pub fn current() -> Option<(PathBuf, RemoteSandboxPointer)> { |
| 71 | let cwd = std::env::current_dir().ok()?; |
| 72 | atomic_repository::find_remote_sandbox(&cwd) |
| 73 | } |
| 74 | |
| 75 | /// A refusal naming the sandbox and why. |
| 76 | pub fn refusal(root: &Path, why: &str) -> CliError { |
no test coverage detected