diff options
author | Joe <rbo@gmx.us> | 2024-01-11 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-11 20:20:20 +0100 |
commit | d13eed42bf459d5862d5f5762b3882bdedd18ceb (patch) | |
tree | e6d93065fa0a4192f3f85910ce2945271d7b1bfc /i_events.go | |
parent | up (diff) | |
download | hardflip-d13eed42bf459d5862d5f5762b3882bdedd18ceb.tar.gz hardflip-d13eed42bf459d5862d5f5762b3882bdedd18ceb.tar.bz2 hardflip-d13eed42bf459d5862d5f5762b3882bdedd18ceb.tar.xz hardflip-d13eed42bf459d5862d5f5762b3882bdedd18ceb.tar.zst hardflip-d13eed42bf459d5862d5f5762b3882bdedd18ceb.zip |
qwe
Diffstat (limited to 'i_events.go')
-rw-r--r-- | i_events.go | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/i_events.go b/i_events.go index 2e5e810..e604785 100644 --- a/i_events.go +++ b/i_events.go @@ -155,13 +155,17 @@ func i_delete_dir(data *HardData) { if dir == nil { return } - dir_path := data.data_dir + dir.path() - if err := os.RemoveAll(dir_path); err != nil { - data.ui.s.Fini() - c_die("can't remove " + dir_path, err) - } + // dir_path := data.data_dir + dir.path() + // if err := os.RemoveAll(dir_path); err != nil { + // data.ui.s.Fini() + // c_die("can't remove " + dir_path, err) + // } // TODO: finish this // TODO: litems ldirs and shit and lots of segv + // TEST: single empty dir + // TEST: single non-empty dir + // TEST: first dir + // TEST: last dir } func i_delete_host(data *HardData) { |