aboutsummaryrefslogtreecommitdiffstats
path: root/c_init.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
commit245627d191cd4d7f67ddbaed2a73ee6b61c481f6 (patch)
treeb9089d0bbad978de43710538647af74a14a5c111 /c_init.go
parentup (diff)
downloadhardflip-245627d191cd4d7f67ddbaed2a73ee6b61c481f6.tar.gz
hardflip-245627d191cd4d7f67ddbaed2a73ee6b61c481f6.tar.bz2
hardflip-245627d191cd4d7f67ddbaed2a73ee6b61c481f6.tar.xz
hardflip-245627d191cd4d7f67ddbaed2a73ee6b61c481f6.tar.zst
hardflip-245627d191cd4d7f67ddbaed2a73ee6b61c481f6.zip
it builds at least
Diffstat (limited to '')
-rw-r--r--c_init.go4
1 files changed, 2 insertions, 2 deletions
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
}