Get only deleted files.
(&self)
| 658 | |
| 659 | /// Get only deleted files. |
| 660 | pub fn deleted_files(&self) -> Result<Vec<PathBuf>, RepositoryError> { |
| 661 | let status = self.status(StatusOptions::default())?; |
| 662 | Ok(status.deleted().map(|e| e.path().to_path_buf()).collect()) |
| 663 | } |
| 664 | } |
| 665 | |
| 666 | /// Check whether a file has live content from a view's perspective. |