aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.posix/ensure_dir.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.posix/ensure_dir.ccm')
-rw-r--r--nihil.posix/ensure_dir.ccm6
1 files changed, 2 insertions, 4 deletions
diff --git a/nihil.posix/ensure_dir.ccm b/nihil.posix/ensure_dir.ccm
index 8d3e7a8..9ae6d80 100644
--- a/nihil.posix/ensure_dir.ccm
+++ b/nihil.posix/ensure_dir.ccm
@@ -2,13 +2,11 @@
export module nihil.posix:ensure_dir;
import nihil.std;
-import nihil.error;
+import nihil.util;
namespace nihil {
-/*
- * Create the given directory and any parent directories.
- */
+// Create the given directory and any parent directories.
export [[nodiscard]] auto
ensure_dir(std::filesystem::path const &dir) -> std::expected<void, error>
{