From 1c53a4f01f6805fd7046be336f1b0da450e73513 Mon Sep 17 00:00:00 2001 From: Alvinn8 <42838560+Alvinn8@users.noreply.github.com> Date: Wed, 27 Dec 2023 17:15:20 +0100 Subject: [PATCH] Ignore ledger database temporarily --- .../main/java/ca/bkaw/mch/world/sftp/SftpWorldProvider.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mch/src/main/java/ca/bkaw/mch/world/sftp/SftpWorldProvider.java b/mch/src/main/java/ca/bkaw/mch/world/sftp/SftpWorldProvider.java index a0e79af..d9e7c31 100644 --- a/mch/src/main/java/ca/bkaw/mch/world/sftp/SftpWorldProvider.java +++ b/mch/src/main/java/ca/bkaw/mch/world/sftp/SftpWorldProvider.java @@ -100,6 +100,10 @@ public Reference20 trackDirectoryTreePath(String path, MchRepository repos if (!predicate.test(name)) { continue; } + // TODO repository-wide "mchignore" + if (name.contains("ledger.sqlite")) { + continue; + } if (file.isDirectory()) { // Track subdirectories Reference20 currentSubTreeReference = currentTree != null ? currentTree.getSubTrees().get(name) : null;