DirectedGraph fixes.

This commit is contained in:
Luka Vandervelden 2020-10-29 14:32:52 +01:00
parent 909eb776e3
commit 692e26e816

View File

@ -170,7 +170,7 @@ class DODB::DirectedGraph(V) < DODB::Indexer(V)
# Roughly matches Index#file_path_index, but works if @storage_root # Roughly matches Index#file_path_index, but works if @storage_root
# is an absolute path as well. # is an absolute path as well.
private def get_cross_index_data_symlink(node : String) private def get_cross_index_data_symlink(node : String)
"../../../../../#{@index.indexing_directory}/#{node}.json" "../../../../../indices/by_#{@index.name}/#{node}.json"
end end
end end