aboutsummaryrefslogtreecommitdiff
path: root/analyzer/utils/fs.h
diff options
context:
space:
mode:
authorMaciej Borowiec <81316152+Mosder@users.noreply.github.com>2026-07-23 20:17:15 +0200
committerGitHub <noreply@github.com>2026-07-23 20:17:15 +0200
commit3419cad016b3c34d0630456d4390c70063462d91 (patch)
tree3a1aa4416e45f134d38f83d4ea2285f1972f9391 /analyzer/utils/fs.h
parent2e3f7fe39791cd671a68330f7ba7a5bb5fc6f9ae (diff)
parent682f9fc8288fdd01de1d88af87495d9e43f56b06 (diff)
LGTM
Diffstat (limited to 'analyzer/utils/fs.h')
-rw-r--r--analyzer/utils/fs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/analyzer/utils/fs.h b/analyzer/utils/fs.h
index 6335799..8083ddc 100644
--- a/analyzer/utils/fs.h
+++ b/analyzer/utils/fs.h
@@ -1,8 +1,6 @@
// utils/fs.h
// functions for operating on the file system, i.e. creating directories, writing files, etc.
-#include <sys/types.h>
-
// get main directory used by the program
// params:
// - main_dir - buffer to save the directory to
@@ -20,12 +18,3 @@ extern void get_saves_dir(char *saves_dir);
// create directories that will be used by the program
extern void create_necessary_directories();
-
-// writes file to the specified path
-// params:
-// - path - path to write the file to
-// - contents - contents of the file
-// - contents_len - amount of bytes of contents to write
-// - flags - flags to open the file with
-// - permissions - permissions of the written file
-extern void write_file(char *path, void *contents, int contents_len, int flags, mode_t permissions);