From 483d91a54912f2c87d6d686184f66a8d091ef9b7 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 23 Jan 2021 15:44:15 +0800 Subject: Now it will display information after restoring from an incremental backup --- src/main/java/com/keuin/kbackupfabric/KBCommands.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/com/keuin/kbackupfabric/KBCommands.java') diff --git a/src/main/java/com/keuin/kbackupfabric/KBCommands.java b/src/main/java/com/keuin/kbackupfabric/KBCommands.java index 9f00790..73b61df 100644 --- a/src/main/java/com/keuin/kbackupfabric/KBCommands.java +++ b/src/main/java/com/keuin/kbackupfabric/KBCommands.java @@ -84,6 +84,8 @@ public final class KBCommands { * @return stat code. */ public static int list(CommandContext context) { + // TODO: Show real name and size and etc info for incremental backup + // TODO: Show concrete info from metadata for `.zip` backup MinecraftServer server = context.getSource().getMinecraftServer(); File[] files = getBackupSaveDirectory(server).listFiles( (dir, name) -> dir.isDirectory() && @@ -356,6 +358,7 @@ public final class KBCommands { * @return stat code. */ public static int prev(CommandContext context) { + // FIXME: This breaks after adding incremental backup try { // List all backups MinecraftServer server = context.getSource().getMinecraftServer(); -- cgit v1.2.3