userver: userver/fs/blocking/read.hpp Source File
Loading...
Searching...
No Matches
read.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <cstddef>
8#include <filesystem>
9#include <limits>
10
14
15USERVER_NAMESPACE_BEGIN
16
23namespace fs::blocking {
24
31
38
42std::filesystem::file_type GetFileType(utils::zstring_view path);
43
54 SettingReadFileFlags flags,
55 std::size_t max_size_to_cache = std::numeric_limits<std::size_t>::max()
56);
57
58} // namespace fs::blocking
59
60USERVER_NAMESPACE_END