Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-05-13 18:35:48 +02:00
co-authored by Nathan Sobo
parent b348276974
commit 0e9441e5cd
8 changed files with 477 additions and 676 deletions
+2 -1
View File
@@ -538,9 +538,10 @@ impl Entry {
}
impl sum_tree::Item for Entry {
type Context = ();
type Summary = EntrySummary;
fn summary(&self) -> Self::Summary {
fn summary(&self, _: &()) -> Self::Summary {
let file_count;
let visible_file_count;
if self.is_file() {