(scope: OperationScope)
| 21 | |
| 22 | impl From<OperationScope> for OperationScopeDto { |
| 23 | fn from(scope: OperationScope) -> Self { |
| 24 | match scope { |
| 25 | OperationScope::Repository => Self::Repository, |
| 26 | OperationScope::WorkingCopy(id) => Self::WorkingCopy { id: id.to_string() }, |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | #[derive(Debug, Clone, PartialEq, Eq, Serialize)] |
nothing calls this directly
no test coverage detected