|
void | reset (file_system &fs) |
|
void | add_root (file_system &fs, native_string_view root_path) |
|
void | add_relative_root (file_system &fs, native_string_view root_path) |
|
directory | get_root (file_system const &fs) |
|
native_string | extract_state (file_system const &fs) |
|
void | restore_state (file_system &fs, native_string_view data) |
|
std::vector< unopened_file > | list_files (directory const &dir, native_char const *extension) |
|
std::vector< directory > | list_subdirectories (directory const &dir) |
|
std::optional< file > | open_file (directory const &dir, native_string_view file_name) |
|
std::optional< unopened_file > | peek_file (directory const &dir, native_string_view file_name) |
|
void | add_ignore_path (file_system &fs, native_string_view replaced_path) |
|
std::vector< native_string > | list_roots (file_system const &fs) |
|
bool | is_ignored_path (file_system const &fs, native_string_view path) |
|
directory | open_directory (directory const &dir, native_string_view directory_name) |
|
native_string | get_full_name (directory const &f) |
|
void | write_file (directory const &dir, native_string_view file_name, char const *file_data, uint32_t file_size) |
|
std::optional< file > | open_file (unopened_file const &f) |
|
native_string | get_full_name (unopened_file const &f) |
|
native_string | get_file_name (unopened_file const &f) |
|
file_contents | view_contents (file const &f) |
|
native_string | get_full_name (file const &f) |
|
directory | get_or_create_save_game_directory () |
|
directory | get_or_create_templates_directory () |
|
directory | get_or_create_oos_directory () |
|
directory | get_or_create_scenario_directory () |
|
directory | get_or_create_settings_directory () |
|
directory | get_or_create_data_dumps_directory () |
|
directory | get_or_create_root_documents () |
|
native_string | win1250_to_native (std::string_view data_in) |
|
native_string | utf8_to_native (std::string_view data_in) |
|
std::string | native_to_utf8 (native_string_view data_in) |
|
std::string | remove_double_backslashes (std::string_view data_in) |
|
native_string | correct_slashes (native_string_view path) |
|
void | make_directories (native_string const &path) |
|
std::optional< native_string > | get_path_to_file (directory const &dir, native_string_view file_name) |
|