feat: v0.3.14, file info outputs
This commit is contained in:
@@ -128,7 +128,7 @@ public class TinyEncryptMainUtil {
|
|||||||
if (meta.getFileLength() != null) {
|
if (meta.getFileLength() != null) {
|
||||||
sb.append(header("File size")).append(meta.getFileLength()).append(" byte(s)");
|
sb.append(header("File size")).append(meta.getFileLength()).append(" byte(s)");
|
||||||
if (meta.getFileLength() >= 1024) {
|
if (meta.getFileLength() >= 1024) {
|
||||||
sb.append(" (").append(ByteUtil.formatBytes(meta.getFileLength())).append(")");
|
sb.append(" [").append(ByteUtil.formatBytes(meta.getFileLength())).append("]");
|
||||||
}
|
}
|
||||||
sb.append("\n");
|
sb.append("\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user