From 245627d191cd4d7f67ddbaed2a73ee6b61c481f6 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 26 Dec 2023 20:20:20 +0100 Subject: it builds at least --- c_init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c_init.go') diff --git a/c_init.go b/c_init.go index 65e7144..d16999c 100644 --- a/c_init.go +++ b/c_init.go @@ -94,11 +94,11 @@ func c_recurse_data_dir(dir, root string, opts HardOpts, ldirs *DirsList, } } -func c_load_data_dir(dir string) *DirsList { +func c_load_data_dir(dir string, opts HardOpts) *DirsList { ldirs := DirsList{} var id uint64 id = 0 - c_recurse_data_dir("", data.opts, dir + "/", &ldirs, &id, "", nil, 1) + c_recurse_data_dir("", dir + "/", opts, &ldirs, &id, "", nil, 1) return &ldirs } -- cgit v1.2.3