LLFIO v2.00
Loading...
Searching...
No Matches
cached_parent.hpp File Reference

Adapts any `fs_handle` to cache its parent directory handle. More...

Classes

class  llfio_v2_xxx::algorithm::cached_parent_handle_adapter< T >
 Adapts any construct()-able implementation to cache its parent directory handle in a process wide cache. More...
struct  llfio_v2_xxx::construct< algorithm::cached_parent_handle_adapter< T > >
 Constructor for algorithm::::cached_parent_handle_adapter<T>. More...

Namespaces

namespace  llfio_v2_xxx
 The LLFIO namespace.
namespace  llfio_v2_xxx::algorithm
 Collection of file system based algorithms.

Typedefs

using llfio_v2_xxx::algorithm::detail::cached_path_handle_ptr = std::shared_ptr<cached_path_handle>

Functions

std::pair< cached_path_handle_ptr, filesystem::path > llfio_v2_xxx::algorithm::detail::get_cached_path_handle (const path_handle &base, path_view path)
template<class T, class... Args>
result< cached_parent_handle_adapter< T > > llfio_v2_xxx::algorithm::cache_parent (Args &&...args) noexcept
 Constructs a T adapted into a parent handle caching implementation.

Detailed Description

Adapts any `fs_handle` to cache its parent directory handle.