tree: delete unused DiffSummary::is_empty()

This commit is contained in:
Martin von Zweigbergk 2023-08-27 12:48:58 -07:00 committed by Martin von Zweigbergk
parent dc06bbc7d1
commit a7a2150328

View file

@ -84,12 +84,6 @@ pub struct DiffSummary {
pub removed: Vec<RepoPath>,
}
impl DiffSummary {
pub fn is_empty(&self) -> bool {
self.modified.is_empty() && self.added.is_empty() && self.removed.is_empty()
}
}
impl Tree {
pub fn new(store: Arc<Store>, dir: RepoPath, id: TreeId, data: Arc<backend::Tree>) -> Self {
Tree {