diff options
author | Joe <rbo@gmx.us> | 2024-01-08 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-08 20:20:20 +0100 |
commit | 28108920b5e4c6ad916b4c974319b14b3be27798 (patch) | |
tree | 2e6c662bedb8162aa1342dae27eaf140104f68d6 /c_hardflip.go | |
parent | cool (diff) | |
download | hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.gz hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.bz2 hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.xz hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.zst hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.zip |
factor
Diffstat (limited to 'c_hardflip.go')
-rw-r--r-- | c_hardflip.go | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/c_hardflip.go b/c_hardflip.go index b040727..17712ae 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -74,41 +74,5 @@ func main() { opts, data_dir, } - - // for ptr = ldirs.head; ptr != nil ; ptr = ptr.next { - // spaces := "" - // for i := 0; i < int(ptr.Depth - 1) * 2; i++ { - // spaces += " " - // } - // if ptr.is_dir() == true { - // fmt.Print(spaces, "DIR ", ptr.ID, " ") - // } - // fmt.Println(ptr.Name) - // for ptr = ptr.lhost.head; ptr != nil; ptr = ptr.next { - // spaces := "" - // for i := 0; i < int(ptr.Parent.Depth - 1) * 2; i++ { - // spaces += " " - // } - // spaces += " " - // if ptr.is_dir() == false { - // fmt.Print(spaces, "HOST ", ptr.ID, " ") - // } - // fmt.Println(ptr.Name) - // } - // } - // for dir := ldirs.head; dir != nil ; dir = dir.next { - // for host := dir.lhost.head; host != nil; host = host.next { - // fmt.Println(host.ID, host.Name, "HOST") - // } - // } - // for item := litems.head; item != nil; item = item.next { - // if item.is_dir() == true { - // fmt.Println(item.ID, item.Dirs.Name) - // } else { - // fmt.Println(item.ID, item.Host.Name) - // } - // } - - // PERF: test performance over a large amount of hosts with litems i_ui(&data) } |