From 4792d8878f1e2e68136bcce9b3beebbd755cf40f Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Thu, 29 Oct 2020 18:03:46 +0100 Subject: [PATCH] Preserves incoming links on deindex. --- src/dodb/directed_graph.cr | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dodb/directed_graph.cr b/src/dodb/directed_graph.cr index 3d5fe4e..6c39c74 100644 --- a/src/dodb/directed_graph.cr +++ b/src/dodb/directed_graph.cr @@ -64,8 +64,6 @@ class DODB::DirectedGraph(V) < DODB::Indexer(V) ::File.delete symlink if ::File.exists? symlink end - - ::FileUtils.rm_r indexing_directory current_node end # FIXME: Heavy duplication down below.