aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'i_events.go')
-rw-r--r--i_events.go14
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) {