summaryrefslogtreecommitdiff
path: root/src/pathutil.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2021-11-17 22:34:57 +0100
committerJoel Klinghed <the_jk@spawned.biz>2021-11-17 22:34:57 +0100
commit6232d13f5321b87ddf12a1aa36b4545da45f173d (patch)
tree23f3316470a14136debd9d02f9e920ca2b06f4cc /src/pathutil.hh
Travel3: Simple image and video display site
Reads the images and videos from filesystem and builds a site in memroy.
Diffstat (limited to 'src/pathutil.hh')
-rw-r--r--src/pathutil.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pathutil.hh b/src/pathutil.hh
new file mode 100644
index 0000000..af2f6fb
--- /dev/null
+++ b/src/pathutil.hh
@@ -0,0 +1,13 @@
+#ifndef PATHUTIL_HH
+#define PATHUTIL_HH
+
+#include <string>
+#include <string_view>
+
+namespace path {
+
+std::string cleanup(std::string_view path);
+
+} // namespace path
+
+#endif // PATHUTIL_HH