diff options
author | Joe <rbo@gmx.us> | 2024-01-05 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-05 20:20:20 +0100 |
commit | 6b52e3051cd00fa39e8a7504e41a931cc874cb0e (patch) | |
tree | de1079d3ed60fcbd3fbd3de8ff1535e9455d7c4d /c_init.go | |
parent | turns out we need litems in the end (diff) | |
download | hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.gz hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.bz2 hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.xz hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.zst hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.zip |
fuck all of this hosts only
Diffstat (limited to 'c_init.go')
-rw-r--r-- | c_init.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -62,9 +62,6 @@ type HardOpts struct { FoldAll bool } - -var global_id int - // this function recurses into the specified root directory in order to load // every yaml file into memory func c_recurse_data_dir(dir, root string, opts HardOpts, @@ -87,7 +84,6 @@ func c_recurse_data_dir(dir, root string, opts HardOpts, // item_node.Dirs = &dir_node // item_node.Host = nil ldirs.add_back(&dir_node) - global_id++ // litems.add_back(&item_node) for _, file := range files { filename := file.Name() @@ -106,7 +102,6 @@ func c_recurse_data_dir(dir, root string, opts HardOpts, host_node.Filename = filename // host_node.Parent = &dir_node dir_node.lhost.add_back(host_node) - global_id++ } } } |