(root: &'a Path, operation: GuardOperation)
| 82 | |
| 83 | impl<'a> GuardRequest<'a> { |
| 84 | pub(crate) fn new(root: &'a Path, operation: GuardOperation) -> Self { |
| 85 | Self { |
| 86 | root, |
| 87 | operation, |
| 88 | wip: WipPolicy::None, |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | pub(crate) fn with_wip(mut self, workspace: &'a str, operation_id: &'a str) -> Self { |
| 93 | self.wip = WipPolicy::CaptureOrReuse { |
nothing calls this directly
no outgoing calls
no test coverage detected