aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.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
commit845d43a1bd6e3ffa3b983b497445097ba04efe57 (patch)
treeef249a57b653f6cfa1e1687d8aeb98143609fd64 /c_hardflip.go
parentits fucked (diff)
downloadhardflip-845d43a1bd6e3ffa3b983b497445097ba04efe57.tar.gz
hardflip-845d43a1bd6e3ffa3b983b497445097ba04efe57.tar.bz2
hardflip-845d43a1bd6e3ffa3b983b497445097ba04efe57.tar.xz
hardflip-845d43a1bd6e3ffa3b983b497445097ba04efe57.tar.zst
hardflip-845d43a1bd6e3ffa3b983b497445097ba04efe57.zip
not great but fuckye
Diffstat (limited to 'c_hardflip.go')
-rw-r--r--c_hardflip.go13
1 files changed, 11 insertions, 2 deletions
diff --git a/c_hardflip.go b/c_hardflip.go
index b0dcfeb..e58809a 100644
--- a/c_hardflip.go
+++ b/c_hardflip.go
@@ -65,8 +65,17 @@ func main() {
// HardUI{},
HardOpts{true, true},
data_dir,
- }
+ }
- fmt.Println(data)
+ dir := data.ldirs.head
+ for dir != nil {
+ fmt.Println(dir)
+ host := dir.lhost.head
+ for host != nil {
+ fmt.Println(" ", host.ID, host.Filename)
+ host = host.next
+ }
+ dir = dir.next
+ }
// i_ui(&data)
}