summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-12-17 00:21:13 +0800
committerkeuin <[email protected]>2020-12-17 00:21:13 +0800
commit8b05c48d76bbb05c2b440e57df1d9b3323edc598 (patch)
tree941c5b51e45b074bcc8656e457c9f582211df754 /src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java
parentfd9124f475422f62691fb542c3f8f35790b65d9b (diff)
Implementing incremental backup. (in progress)
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java b/src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java
index 54c2f58..d0c7500 100644
--- a/src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java
+++ b/src/main/java/com/keuin/kbackupfabric/util/backup/BackupFilesystemUtil.java
@@ -70,7 +70,7 @@ public final class BackupFilesystemUtil {
return -1;
}
- public static String humanFileSize(long size) {
+ public static String getFriendlyFileSizeString(long size) {
double fileSize = size * 1.0 / 1024 / 1024; // Default unit is MB
if (fileSize > 1000)
//msgInfo(context, String.format("File size: %.2fGB", fileSize / 1024));