diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-08-01 11:52:21 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-08-01 11:52:21 +0300 |
commit | e2434aa9d42d50651ed9685b5125f58262366081 (patch) | |
tree | 4ea28d1014d83bf36adf74cd9cf9b8b4029d7bc7 /include/llfio/v2.0/fs_handle.hpp | |
parent | 964d174c1c44d4810789b198bbf07271cebbe8c8 (diff) |
Add preliminary symlink_handle implementation for POSIX.
Diffstat (limited to 'include/llfio/v2.0/fs_handle.hpp')
-rw-r--r-- | include/llfio/v2.0/fs_handle.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llfio/v2.0/fs_handle.hpp b/include/llfio/v2.0/fs_handle.hpp index d4e1619d..ed4ef1f2 100644 --- a/include/llfio/v2.0/fs_handle.hpp +++ b/include/llfio/v2.0/fs_handle.hpp @@ -195,6 +195,11 @@ public: result<void> unlink(deadline d = std::chrono::seconds(30)) noexcept; }; +namespace detail +{ + extern LLFIO_DECL result<path_handle> containing_directory(optional<std::reference_wrapper<filesystem::path>> out_filename, const handle &h, const fs_handle &fsh, deadline d) noexcept; +} + // BEGIN make_free_functions.py /*! Relinks the current path of this open handle to the new path specified. If `atomic_replace` is true, the relink \b atomically and silently replaces any item at the new path specified. This operation |