feat: v1.7.9, meta size

This commit is contained in:
2024-01-20 15:26:12 +08:00
parent 80ce9fcece
commit af1678f67a
3 changed files with 28 additions and 24 deletions

View File

@@ -72,8 +72,12 @@ pub fn info_single(path: &PathBuf, cmd_info: &CmdInfo, config: &Option<TinyEncry
));
} else {
infos.push(format!("{}: {}", header("File size"),
util_size::get_display_size(meta.file_length as i64)));
util_size::get_display_size(meta.file_length as i64)
));
}
infos.push(format!("{}: {}",
header("Meta size"), util_size::get_display_size(meta_len as i64))
);
infos.push(format!("{}: Version: {}, Agent: {}",
header("File summary"), meta.version, meta.user_agent)