summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2024-03-23 20:58:00 +0100
committerCanop <cano.petrole@gmail.com>2024-03-23 20:58:00 +0100
commitdf315d6b11a74b289c5276e741b854c0d47738ae (patch)
tree30922f47f14b1be199024b04c3c36abd2978c7b8
parent857e313d5302c4b8c45db9e0cb1ca4d5bf652ad1 (diff)
remove unused file
-rw-r--r--src/filesystems/mount_view.rs54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/filesystems/mount_view.rs b/src/filesystems/mount_view.rs
deleted file mode 100644
index 474fbd0..0000000
--- a/src/filesystems/mount_view.rs
+++ /dev/null
@@ -1,54 +0,0 @@
-//! build the list_view used for displaying the mounts
-
-use {
- super::*,
- crate::{
- app::*,
- command::{Command, TriggerType},
- conf::Conf,
- display::{CropWriter, SPACE_FILLING, Screen, W},
- errors::ProgramError,
- filesystems,
- launchable::Launchable,
- pattern::*,
- skin::PanelSkin,
- verb::*,
- },
- crossterm::{
- cursor,
- style::{Color, Print, SetForegroundColor},
- QueueableCommand,
- },
- lfs_core::{
- self,
- Mount,
- },
- std::{
- path::Path,
- },
- strict::NonEmptyVec,
- termimad::{
- ansi, Alignment, Area, CompoundStyle, ListView, ListViewCell, ListViewColumn, MadSkin,
- ProgressBar,
- },
-};
-
-pub fn make_list_view() -> ListView<Mount, PanelSkin> {
- let columns = vec![
- ListViewColumn::new(
- "name",
- 10,
- 50,
- Box::new(|mount: &Mount, skin: | {
- ListViewCell::new(
- mount.info.mount_point.to_string_lossy().to_string(),
- if fi.is_dir {
- &SKIN.bold
- } else {
- &SKIN.paragraph.compound_style
- },
- )
- }),
- )
- .with_align(Alignment::Left),
- ];