diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-24 00:11:10 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-24 00:11:10 -0500 |
commit | 0a95d2786e403450ceab115c644c8fcc0a115ccc (patch) | |
tree | 5e0ff9f05a3016d34892df03c3bd428f55a4a572 /include/fs.h | |
parent | 0c53a5d6fc03427306f821e0a4296e461203cc17 (diff) | |
download | spmc-0a95d2786e403450ceab115c644c8fcc0a115ccc.tar.gz |
Move exists() from deps.h to fs.h
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index 7e8ef12..2b656c9 100644 --- a/include/fs.h +++ b/include/fs.h @@ -18,6 +18,7 @@ typedef struct { int _fstree_compare(const FTSENT **a, const FTSENT **b); void fstree_free(FSTree *fsdata); FSTree *fstree(const char *_path, char **filter_by, unsigned int filter_mode); +int exists(const char *filename); int rmdirs(const char *_path); long int get_file_size(const char *filename); int mkdirs(const char *_path, mode_t mode); |