(&self, path: &WorkspacePath)
| 397 | } |
| 398 | |
| 399 | fn key_for(&self, path: &WorkspacePath) -> String { |
| 400 | if path.is_root() { |
| 401 | self.prefix.clone() |
| 402 | } else if self.prefix.is_empty() { |
| 403 | path.as_str().to_string() |
| 404 | } else { |
| 405 | format!("{}/{}", self.prefix, path.as_str()) |
| 406 | } |
| 407 | } |
| 408 | |
| 409 | fn list_prefix_for(&self, path: &WorkspacePath) -> String { |
| 410 | if path.is_root() { |