diff options
author | Canop <cano.petrole@gmail.com> | 2021-04-18 08:25:44 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-04-18 08:25:44 +0200 |
commit | 1ba47dac5f39f71c708c6ed1b2a1add83ed3587c (patch) | |
tree | acdd05e5b0d0c39787ad499e6e1458a192c1a7c3 /src/tree | |
parent | 2f4027ce1741098147b70e5de4d853d3ae8a86be (diff) |
display what files are staged on tree
Diffstat (limited to 'src/tree')
-rw-r--r-- | src/tree/tree.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tree/tree.rs b/src/tree/tree.rs index 8617061..2d5011e 100644 --- a/src/tree/tree.rs +++ b/src/tree/tree.rs @@ -442,14 +442,5 @@ impl Tree { sum } } - /// compute the ordered list of columns that should be displayed - /// for current tree state and options - pub fn visible_cols(&self) -> Vec<Col> { - self.options.cols_order - .iter() - .filter(|col| col.is_visible(&self)) - .cloned() - .collect() - } } |