List all paths (files and directories) in the working copy.
(&self)
| 418 | |
| 419 | /// List all paths (files and directories) in the working copy. |
| 420 | pub fn list_all_paths(&self) -> Vec<String> { |
| 421 | let files = self.files.borrow(); |
| 422 | files.keys().cloned().collect() |
| 423 | } |
| 424 | |
| 425 | /// Check if the working copy is empty. |
| 426 | pub fn is_empty(&self) -> bool { |