OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
fileutil.h
Go to the documentation of this file.
1#pragma once
2
3#include <Tempest/Dir>
4#include <string>
5
6namespace FileUtil {
7 bool exists(const std::u16string& path);
8 std::u16string caseInsensitiveSegment(std::u16string_view path, const char16_t* segment, Tempest::Dir::FileType type);
9 std::u16string nestedPath(std::u16string_view gpath, const std::initializer_list<const char16_t*> &name, Tempest::Dir::FileType type);
10 }
bool exists(const std::u16string &path)
Definition fileutil.cpp:15
std::u16string caseInsensitiveSegment(std::u16string_view path, const char16_t *segment, Tempest::Dir::FileType type)
std::u16string nestedPath(std::u16string_view gpath, const std::initializer_list< const char16_t * > &name, Tempest::Dir::FileType type)