(
self,
path: &str,
overwrite: bool,
)
| 170 | } |
| 171 | |
| 172 | pub fn validate_path_for_insert( |
| 173 | self, |
| 174 | path: &str, |
| 175 | overwrite: bool, |
| 176 | ) -> Result<ValidWriteableGraphFolder, PathValidationError> { |
| 177 | if overwrite { |
| 178 | ValidWriteableGraphFolder::try_existing_or_new(self, path) |
| 179 | } else { |
| 180 | ValidWriteableGraphFolder::try_new(self, path) |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | impl PartialEq for WorkDirWriteGuard { |
no outgoing calls