userver
C++ Async Framework
Loading...
Searching...
No Matches
path_utils.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/fs/path_utils.hpp
4
/// @brief file path operations and utilities
5
6
#
include
<
string
>
7
8
USERVER_NAMESPACE_BEGIN
9
10
/// @brief filesystem support
11
namespace
fs {
12
13
/// @brief Returns relative path from full path
14
/// @param path full path, must start with `dir`
15
/// @param dir directory path to get relative path
16
/// @note it does not access filesystem, the relative path is calculated
17
/// lexically.
18
std::string
GetLexicallyRelative
(std::string_view path, std::string_view dir);
19
20
}
// namespace fs
21
22
USERVER_NAMESPACE_END
userver
fs
path_utils.hpp
Generated on Tue Dec 30 2025 09:18:07 for userver by
Doxygen
1.9.8