mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Refactor: progress bar: rm unused field
This commit is contained in:
@@ -180,7 +180,6 @@ fn main() {
|
|||||||
} else {
|
} else {
|
||||||
let conf = PConfig {
|
let conf = PConfig {
|
||||||
use_iso: iso,
|
use_iso: iso,
|
||||||
ignore_hidden, // can we rm this?
|
|
||||||
};
|
};
|
||||||
let mut indicator = PIndicator::build_me(conf);
|
let mut indicator = PIndicator::build_me(conf);
|
||||||
indicator.spawn();
|
indicator.spawn();
|
||||||
|
|||||||
@@ -157,7 +157,6 @@ fn format_indicator_str(data: &PAtomicInfo, progress_char_i: usize, s: &str) ->
|
|||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
pub struct PConfig {
|
pub struct PConfig {
|
||||||
pub ignore_hidden: bool,
|
|
||||||
pub use_iso: bool,
|
pub use_iso: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user