Provides utility functions for filesystem operations.
More...
Provides utility functions for filesystem operations.
◆ ReplaceExtension()
| std::filesystem::path nnl::utl::filesys::ReplaceExtension |
( |
const std::filesystem::path & | path, |
|
|
const std::filesystem::path & | new_extension ) |
Returns a new path with the specified file extension.
- Parameters
-
| path | Original file path |
| new_extension | New extension |
- Returns
- A new path with replaced extension
◆ u8path()
| std::filesystem::path nnl::utl::filesys::u8path |
( |
std::string_view | path | ) |
|
Creates a filesystem path from a UTF-8 string.
- Parameters
-
- Returns
- Filesystem path
◆ u8string()
| std::string nnl::utl::filesys::u8string |
( |
const std::filesystem::path & | path | ) |
|
Converts a filesystem path to a UTF-8 string.
- Parameters
-
- Returns
- UTF-8 encoded string