Skip to content

Commit 470ca4a

Browse files
author
Stephan Dilly
committed
todos
1 parent 3c8060f commit 470ca4a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/components/filetree.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ use crossterm::event::Event;
1919
use std::{borrow::Cow, cell::Cell, convert::From, path::Path};
2020
use tui::{backend::Backend, layout::Rect, text::Span, Frame};
2121

22+
//TODO: rename so that its clear this only works for Statuses
23+
//TODO: use new `filetreelist` crate
24+
2225
///
2326
pub struct FileTreeComponent {
2427
title: String,

src/components/utils/filetree.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//TODO: remove in favour of new `filetreelist` crate
2+
13
use anyhow::{bail, Result};
24
use asyncgit::StatusItem;
35
use std::{

src/components/utils/statustree.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ use anyhow::Result;
55
use asyncgit::StatusItem;
66
use std::{cmp, collections::BTreeSet};
77

8+
//TODO: use new `filetreelist` crate
9+
810
///
911
#[derive(Default)]
1012
pub struct StatusTree {

0 commit comments

Comments
 (0)