Simox
2.3.74.0
|
Functions | |
std::vector< path > | list_directory (const path &directory, bool local=false, bool sort=true) |
List the entries in directory directory . More... | |
std::filesystem::path | make_relative (std::filesystem::path a_From, std::filesystem::path a_To) |
Return path when appended to a_From will resolve to same as a_To. More... | |
fs::path | remove_trailing_separator (fs::path p) |
std::vector< fs::path > simox::fs::list_directory | ( | const path & | directory, |
bool | local = false , |
||
bool | sort = true |
||
) |
List the entries in directory directory
.
directory | Path to the directory. |
local | If true, returned paths are relative to directory . If false, the entries are prepended by directory . |
sort | If true, entries are sorted alphatically. |
directory
.
|
inline |
Return path when appended to a_From will resolve to same as a_To.
|
inline |