Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kimono-koans committed Jan 3, 2024
1 parent 983b9cc commit f5dae2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/display_versions/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::library::utility::{
date_string, delimiter, display_human_size, paint_string, DateFormat,
};
use crate::lookup::versions::ProximateDatasetAndOptAlts;
use crate::VersionsDisplayWrapper;
use crate::{VersionsDisplayWrapper, GLOBAL_CONFIG};
use std::borrow::Cow;
use std::ops::Deref;
use terminal_size::{terminal_size, Height, Width};
Expand Down Expand Up @@ -286,6 +286,9 @@ impl PathData {
Some(_) if config.opt_omit_ditto => {
"WARN: Omitting the only snapshot version available, which is identical to the live file.\n"
}
Some(prox_opt_alts) if GLOBAL_CONFIG.dataset_collection.filter_dirs.iter().any(|filter_dir| filter_dir == prox_opt_alts.proximate_dataset_mount) => {
"WARN: Most proximate dataset for path is an unsupported filesystem.\n"
}
Some(_) => {
"WARN: No snapshot version exists for the specified file.\n"
}
Expand Down

0 comments on commit f5dae2a

Please sign in to comment.