A refusal naming the sandbox and why.
(root: &Path, why: &str)
| 74 | |
| 75 | /// A refusal naming the sandbox and why. |
| 76 | pub fn refusal(root: &Path, why: &str) -> CliError { |
| 77 | CliError::ServiceRefusal { |
| 78 | message: format!( |
| 79 | "not available in a remote sandbox ({}): {why}", |
| 80 | root.display() |
| 81 | ), |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /// The pointer's repository as the contract names it. |
| 86 | pub fn reference(pointer: &RemoteSandboxPointer) -> Result<pb::RepositoryRef, String> { |
no outgoing calls
no test coverage detected