📂 golxzn::os::filesystem 📂 1.6.5
golxzn filesystem submodule
Loading...
Searching...
No Matches
Narrow string aliases

Functions

static error golxzn::os::filesystem::initialize (const std::string_view application_name, const std::string_view assets_path=default_assets_directory_name_narrow)
 Narrow string alias for golxzn::os::filesystem::initialize(const std::wstring_view, const std::wstring_view)
 
static void golxzn::os::filesystem::set_application_name (const std::string_view application_name) noexcept
 Narrow string alias for golxzn::os::filesystem::set_application_name(const std::wstring_view)
 
static void golxzn::os::filesystem::associate (const std::string_view protocol, const std::string_view prefix) noexcept
 Narrow string alias for golxzn::os::filesystem::associate(const std::wstring_view, const std::wstring_view)
 
static std::vector< byte > golxzn::os::filesystem::read_binary (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::read_binary(const std::wstring_view path)
 
static std::string golxzn::os::filesystem::read_text (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::read_text(const std::wstring_view path)
 
template<class Custom >
static auto golxzn::os::filesystem::read_binary (const std::string_view path) -> std::enable_if_t< std::is_constructible_v< Custom, std::vector< byte > >, Custom >
 Narrow string alias for golxzn::os::filesystem::read_binary(const std::wstring_view path)
 
template<class Custom >
static auto golxzn::os::filesystem::read_text (const std::string_view path) -> std::enable_if_t< std::is_constructible_v< Custom, std::string >, Custom >
 Narrow string alias for golxzn::os::filesystem::read_text(const std::wstring_view path)
 
template<class Custom >
static auto golxzn::os::filesystem::read_shared_binary (const std::string_view path) -> std::enable_if_t< std::is_constructible_v< Custom, std::vector< byte > >, std::shared_ptr< Custom > >
 Narrow string alias for golxzn::os::filesystem::read_shared_binary(const std::wstring_view path)
 
template<class Custom >
static auto golxzn::os::filesystem::read_shared_text (const std::string_view path) -> std::enable_if_t< std::is_constructible_v< Custom, std::string >, std::shared_ptr< Custom > >
 Narrow string alias for golxzn::os::filesystem::read_shared_text(const std::wstring_view path)
 
template<class Custom >
static auto golxzn::os::filesystem::read_unique_binary (const std::string_view path) -> std::enable_if_t< std::is_constructible_v< Custom, std::vector< byte > >, std::unique_ptr< Custom > >
 Narrow string alias for golxzn::os::filesystem::read_unique_binary(const std::wstring_view path)
 
template<class Custom >
static auto golxzn::os::filesystem::read_unique_text (const std::string_view path) -> std::enable_if_t< std::is_constructible_v< Custom, std::string >, std::unique_ptr< Custom > >
 Narrow string alias for golxzn::os::filesystem::read_unique_text(const std::wstring_view path)
 
static error golxzn::os::filesystem::write_binary (const std::string_view path, const details::data_view< byte > &data)
 Narrow string alias for golxzn::os::filesystem::write_binary(const std::wstring_view path, const details::data_view<byte> &data)
 
static error golxzn::os::filesystem::write_binary (const std::string_view path, const std::initializer_list< byte > data)
 Narrow string alias for golxzn::os::filesystem::write_binary(const std::wstring_view path, const std::initializer_list<byte> data)
 
static error golxzn::os::filesystem::append_binary (const std::string_view path, const details::data_view< byte > &data)
 Narrow string alias for golxzn::os::filesystem::append_binary(const std::wstring_view path, const details::data_view<byte> &data)
 
static error golxzn::os::filesystem::append_binary (const std::string_view path, const std::initializer_list< byte > data)
 Narrow string alias for golxzn::os::filesystem::append_binary(const std::wstring_view path, const std::initializer_list<byte> data)
 
static error golxzn::os::filesystem::write_text (const std::string_view path, const std::string_view text)
 Narrow string alias for golxzn::os::filesystem::write_text(const std::wstring_view path, const std::string_view text)
 
static error golxzn::os::filesystem::append_text (const std::string_view path, const std::string_view text)
 Narrow string alias for golxzn::os::filesystem::append_text(const std::wstring_view path, const std::string_view text)
 
static error golxzn::os::filesystem::write_text (const std::string_view path, const std::wstring_view text)
 Narrow string alias for golxzn::os::filesystem::write_text(const std::wstring_view path, const std::wstring_view text)
 
static error golxzn::os::filesystem::append_text (const std::string_view path, const std::wstring_view text)
 Narrow string alias for golxzn::os::filesystem::append_text(const std::wstring_view path, const std::wstring_view text)
 
static std::wstring_view golxzn::os::filesystem::get_association (const std::string_view protocol) noexcept
 Narrow string alias for golxzn::os::filesystem::get_association(const std::wstring_view protocol)
 
static void golxzn::os::filesystem::join (std::string &left, std::string_view right) noexcept
 Narrow string alias for golxzn::os::filesystem::join(std::wstring &left, std::wstring_view right)
 
static std::string golxzn::os::filesystem::join (std::string_view left, std::string_view right) noexcept
 Narrow string alias for golxzn::os::filesystem::join(std::wstring_view left, std::wstring_view right)
 
static void golxzn::os::filesystem::parent_directory (std::string &path) noexcept
 Narrow string alias for golxzn::os::filesystem::parent_directory(std::wstring &path)
 
static std::string golxzn::os::filesystem::parent_directory (std::string_view path) noexcept
 Narrow string alias for golxzn::os::filesystem::parent_directory(std::wstring_view path)
 
static std::wstring golxzn::os::filesystem::normalize (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::normalize(const std::wstring_view path)
 
static bool golxzn::os::filesystem::exists (const std::string_view path) noexcept
 Narrow string alias for golxzn::os::filesystem::exists(const std::wstring_view path)
 
static bool golxzn::os::filesystem::is_file (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::is_file(const std::wstring_view path)
 
static bool golxzn::os::filesystem::is_directory (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::is_directory(const std::wstring_view path)
 
static error golxzn::os::filesystem::make_directory (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::make_directory(const std::wstring_view path)
 
static error golxzn::os::filesystem::remove_directory (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::remove_directory(const std::wstring_view path)
 
static error golxzn::os::filesystem::remove_file (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::remove_file(const std::wstring_view path)
 
static error golxzn::os::filesystem::remove (const std::string_view path)
 Narrow string alias for golxzn::os::filesystem::remove(const std::wstring_view path)
 
static std::vector< std::string > golxzn::os::filesystem::entries (const std::string_view path)
 Narrow stirng alias for golxzn::os::filesystem::entries(const std::wstring_view path)
 

Detailed Description

Warning
Methods with a narrow string arguments instead of wide string could cause a memory allocation.