Get only deleted files.
(&self)
| 646 | |
| 647 | /// Get only deleted files. |
| 648 | pub fn deleted_files(&self) -> Result<Vec<PathBuf>, RepositoryError> { |
| 649 | let status = self.status(StatusOptions::default())?; |
| 650 | Ok(status.deleted().map(|e| e.path().to_path_buf()).collect()) |
| 651 | } |
| 652 | } |
| 653 | |
| 654 | /// Check whether a file has live content from a view's perspective. |