📂 golxzn::os::filesystem 📂 1.6.5
golxzn filesystem submodule
|
Functions | |
static bool | golxzn::os::filesystem::exists (const std::wstring_view path) noexcept |
Check if an entry exists. | |
static bool | golxzn::os::filesystem::is_file (const std::wstring_view path) |
Check if an entry is a file. | |
static bool | golxzn::os::filesystem::is_directory (const std::wstring_view path) |
Check if an entry is a directory. | |
static error | golxzn::os::filesystem::make_directory (const std::wstring_view path) |
Create a directory (recursively). | |
static error | golxzn::os::filesystem::remove_directory (const std::wstring_view path) |
Remove a directory (recursively). | |
static error | golxzn::os::filesystem::remove_file (const std::wstring_view path) |
Remove a file. | |
static error | golxzn::os::filesystem::remove (const std::wstring_view path) |
List an entry (file or directory). | |
|
staticnoexcept |
Check if an entry exists.
path | directory or file path |
true
if exists, false
otherwise
|
static |
Check if an entry is a directory.
path | path to the directory entry |
true
if is directory, false
otherwise
|
static |
Check if an entry is a file.
path | path to the file entry |
true
if is file, false
otherwise
|
static |
Create a directory (recursively).
path | path to the directory |
|
static |
List an entry (file or directory).
path | path to the entry |
|
static |
Remove a directory (recursively).
path | path to the directory |
|
static |
Remove a file.
path | path to the file |