Get only deleted files.
(&self)
| 522 | |
| 523 | /// Get only deleted files. |
| 524 | pub fn deleted_files(&self) -> Result<Vec<PathBuf>, RepositoryError> { |
| 525 | let status = self.status(StatusOptions::default())?; |
| 526 | Ok(status.deleted().map(|e| e.path().to_path_buf()).collect()) |
| 527 | } |
| 528 | } |
| 529 | |
| 530 | /// Check whether a file has live content from a view's perspective. |