diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 22:58:33 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 22:58:33 +0200 |
commit | 5c6e0469df8d4934bb119d5c2bc3669a43634e3b (patch) | |
tree | 43d728dac84eea4ca78b75bf879b98a170fc69b7 /source | |
parent | b41ab974da26f53727368df57185963f0361b34e (diff) | |
download | kit-5c6e0469df8d4934bb119d5c2bc3669a43634e3b.zip |
test
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/file.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/kit/file.c b/source/kit/file.c index 5bc8f9a..8018660 100644 --- a/source/kit/file.c +++ b/source/kit/file.c @@ -310,12 +310,10 @@ kit_status_t kit_file_remove_recursive(kit_str_t path, for (i = 0; i < list.files.size; i++) { str_builder_t full_path = kit_path_join( path, WRAP_STR(list.files.values[i]), alloc); - printf(" REMOVE %s ", BS(full_path)); + printf(" REMOVE %s (%d bytes) \n", BS(full_path), + (int) full_path.size); kit_status_t s = kit_file_remove_recursive( WRAP_STR(full_path), alloc); - if (s != KIT_OK) { - printf(" FAILED \n"); fflush(stdout); - } DA_DESTROY(full_path); assert(s == KIT_OK); } |