Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
kimono-koans committed May 10, 2023
1 parent 83cd8f1 commit 974e660
Show file tree
Hide file tree
Showing 6 changed files with 213 additions and 211 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "httm"
authors = ["Robert Swinford <robert.swinford@gmail.com>"]
version = "0.26.4"
version = "0.26.5"
edition = "2021"
keywords = ["zfs", "backup", "restore", "cli-utility", "snapshot"]
description = "A CLI tool for viewing snapshot file versions on ZFS and btrfs datasets"
Expand Down
6 changes: 3 additions & 3 deletions httm.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH HTTM "1" "April 2023" "httm 0.26.4" "User Commands"
.TH HTTM "1" "April 2023" "httm 0.26.5" "User Commands"
.SH NAME
httm \- manual page for httm 0.26.4
httm \- manual page for httm 0.26.5
.SH DESCRIPTION
httm 0.26.4
httm 0.26.5
httm prints the size, date and corresponding locations of available unique versions of files
residing on snapshots. May also be used interactively to select and restore from such versions, and
even to snapshot datasets which contain certain files.
Expand Down
4 changes: 2 additions & 2 deletions src/display_versions/num_versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ impl<'a> VersionsDisplayWrapper<'a> {
num_versions += 1
};

return Some(format!(
Some(format!(
"{:<width$} : {:*<num_versions$}{}",
display_path,
"",
delimiter,
width = padding
));
))
}
NumVersionsMode::AllNumerals => {
if !VersionsMap::is_live_version_redundant(live_version, snaps) {
Expand Down
6 changes: 4 additions & 2 deletions src/exec/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ pub struct InteractiveBrowse;

impl InteractiveBrowse {
pub fn exec(interactive_mode: &InteractiveMode) -> HttmResult<Vec<PathData>> {
let (_background_handle, paths_selected_in_browse) = match &GLOBAL_CONFIG.opt_requested_dir {
let (_background_handle, paths_selected_in_browse) = match &GLOBAL_CONFIG.opt_requested_dir
{
// collect string paths from what we get from lookup_view
Some(requested_dir) => {
let (background_handle, selected_pathdata) = InteractiveBrowse::browse_view(requested_dir)?;
let (background_handle, selected_pathdata) =
InteractiveBrowse::browse_view(requested_dir)?;
if selected_pathdata.is_empty() {
return Err(HttmError::new(
"None of the selected strings could be converted to paths.",
Expand Down
Loading

0 comments on commit 974e660

Please sign in to comment.