summaryrefslogtreecommitdiff
path: root/src/mkdirp.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-11 10:14:53 +0100
committerPhil Jones <philj56@gmail.com>2022-06-11 10:14:53 +0100
commitc0cd4cdf78886040528b16fad084a14165a16384 (patch)
tree82788f09527c91060cea22246f1af9a2572ce655 /src/mkdirp.h
parent7c31982244f179cb2f51bb1d81b21ad4efd649ba (diff)
Add compgen caching.
A list of commands is now stored in $XDG_CACHE_HOME/.cache/tofi-compgen, and regenerated as necessary.
Diffstat (limited to 'src/mkdirp.h')
-rw-r--r--src/mkdirp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mkdirp.h b/src/mkdirp.h
new file mode 100644
index 0000000..52cba9c
--- /dev/null
+++ b/src/mkdirp.h
@@ -0,0 +1,8 @@
+#ifndef MKDIRP_H
+#define MKDIRP_H
+
+#include <stdbool.h>
+
+bool mkdirp(const char *path);
+
+#endif /* MKDIRP_H */