mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-28 23:32:41 +00:00
tree: delete unused DiffSummary::is_empty()
This commit is contained in:
parent
dc06bbc7d1
commit
a7a2150328
1 changed files with 0 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue