This commit is contained in:
Stephan Dilly 2021-05-28 11:18:58 +02:00
parent 3c8060f6f5
commit 470ca4a678
3 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,9 @@ use crossterm::event::Event;
use std::{borrow::Cow, cell::Cell, convert::From, path::Path};
use tui::{backend::Backend, layout::Rect, text::Span, Frame};
//TODO: rename so that its clear this only works for Statuses
//TODO: use new `filetreelist` crate
///
pub struct FileTreeComponent {
title: String,

View File

@ -1,3 +1,5 @@
//TODO: remove in favour of new `filetreelist` crate
use anyhow::{bail, Result};
use asyncgit::StatusItem;
use std::{

View File

@ -5,6 +5,8 @@ use anyhow::Result;
use asyncgit::StatusItem;
use std::{cmp, collections::BTreeSet};
//TODO: use new `filetreelist` crate
///
#[derive(Default)]
pub struct StatusTree {