diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-13 16:02:45 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-13 16:02:45 -0400 |
commit | c9333378605b67a13555f587955a900baf89cb60 (patch) | |
tree | 4fd9134ac7d7bd5e8b06eb6b32ee1b7cc0fe4781 /include | |
parent | 4550b38cd0db6b89c913af0b3444dfd3f1beba36 (diff) | |
download | stasis-move-mkdirs.tar.gz |
Move mkdirs() into utils modulemove-mkdirs
Diffstat (limited to 'include')
-rw-r--r-- | include/copy.h | 8 | ||||
-rw-r--r-- | include/utils.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/copy.h b/include/copy.h index 609a6cf..a26ac30 100644 --- a/include/copy.h +++ b/include/copy.h @@ -32,14 +32,6 @@ int copytree(const char *srcdir, const char *destdir, unsigned op); /** - * Create all leafs in directory path - * @param _path directory path to create - * @param mode mode_t permissions - * @return - */ -int mkdirs(const char *_path, mode_t mode); - -/** * Copy a single file * * ```c diff --git a/include/utils.h b/include/utils.h index eee2e30..a3d244a 100644 --- a/include/utils.h +++ b/include/utils.h @@ -357,4 +357,12 @@ struct StrList *listdir(const char *path); */ long get_cpu_count(); +/** + * Create all leafs in directory path + * @param _path directory path to create + * @param mode mode_t permissions + * @return + */ +int mkdirs(const char *_path, mode_t mode); + #endif //STASIS_UTILS_H |