aboutsummaryrefslogtreecommitdiff
path: root/include/files.h
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-08-17 13:31:42 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-08-17 13:31:42 +0000
commit7db56ed3f9d1fcb8b6780b7c30ad93904625a0a3 (patch)
tree91c6e60d239c89ce29ea23b1dd9b8fcf66ce16d7 /include/files.h
parent536b651f4086fe01d0bd1f743f54ef650524b122 (diff)
fundamentals are working and beautiful
Diffstat (limited to 'include/files.h')
-rw-r--r--include/files.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/files.h b/include/files.h
index 24712e9..052c5f4 100644
--- a/include/files.h
+++ b/include/files.h
@@ -23,7 +23,12 @@
#include <stdbool.h>
+#include "str.h"
+
bool file_exists(const char *path);
bool is_directory(const char *path);
+bool rmrf(str *path);
+bool file_write(str *content, str *path);
+str file_read(str *path);
#endif