use ansi_to_tui::IntoText; use lscolors::LsColors; use ratatui::style::Style; use std::path::Path; use crate::config::clean::app::AppConfig; use crate::fs::{FileType, JoshutoDirEntry, LinkType}; use crate::util::unix; use crate::THEME_T; /// Allows patching a ratatui style if there is `Some` style, otherwise returns a clone. pub trait PathStyleIfSome { fn patch_optionally(&self, other: Option