LLFIO  v2.00
fs_handle.hpp File Reference

Provides fs_handle. More...

#include "path_handle.hpp"
#include "path_view.hpp"
#include "quickcpplib/uint128.hpp"

Classes

class  llfio_v2_xxx::fs_handle
 A handle to something with a device and inode number. More...
 

Namespaces

 llfio_v2_xxx
 The LLFIO namespace.
 

Enumerations

enum class  llfio_v2_xxx::win32_path_namespace { llfio_v2_xxx::any , llfio_v2_xxx::device , llfio_v2_xxx::dos , llfio_v2_xxx::guid_volume }
 The kinds of win32 path namespace possible. More...
 

Functions

result< filesystem::path > llfio_v2_xxx::to_win32_path (const fs_handle &h, win32_path_namespace mapping=win32_path_namespace::any) noexcept
 Maps the current path of h into a form suitable for Win32 APIs. Passes through unmodified on POSIX, so you can use this in portable code. More...
 
template<class T , typename std::enable_if<(!std::is_base_of< fs_handle, T >::value &&std::is_base_of< handle, T >::value), bool >::type = true>
result< filesystem::path > llfio_v2_xxx::to_win32_path (const T &h, win32_path_namespace mapping=win32_path_namespace::any) noexcept
 
result< path_handle > llfio_v2_xxx::detail::containing_directory (optional< std::reference_wrapper< filesystem::path >> out_filename, const handle &h, const fs_handle &fsh, deadline d) noexcept
 
result< void > llfio_v2_xxx::relink (fs_handle &self, const path_handle &base, fs_handle::path_view_type path, bool atomic_replace=true, deadline d=std::chrono::seconds(30)) noexcept
 
result< void > llfio_v2_xxx::unlink (fs_handle &self, deadline d=std::chrono::seconds(30)) noexcept
 

Detailed Description

Provides fs_handle.