godot/core/io/dir_access.cpp

/**************************************************************************/
/*  dir_access.cpp                                                        */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "dir_access.h"

#include "core/config/project_settings.h"
#include "core/io/file_access.h"
#include "core/os/memory.h"
#include "core/os/os.h"
#include "core/templates/local_vector.h"

thread_local Error DirAccess::last_dir_open_error =;

String DirAccess::_get_root_path() const {}

String DirAccess::_get_root_string() const {}

int DirAccess::get_current_drive() {}

bool DirAccess::drives_are_shortcuts() {}

static Error _erase_recursive(DirAccess *da) {}

Error DirAccess::erase_contents_recursive() {}

Error DirAccess::make_dir_recursive(const String &p_dir) {}

DirAccess::AccessType DirAccess::get_access_type() const {}

String DirAccess::fix_path(const String &p_path) const {}

DirAccess::CreateFunc DirAccess::create_func[ACCESS_MAX] =;

Ref<DirAccess> DirAccess::create_for_path(const String &p_path) {}

Ref<DirAccess> DirAccess::open(const String &p_path, Error *r_error) {}

Ref<DirAccess> DirAccess::_open(const String &p_path) {}

int DirAccess::_get_drive_count() {}

String DirAccess::get_drive_name(int p_idx) {}

Error DirAccess::make_dir_absolute(const String &p_dir) {}

Error DirAccess::make_dir_recursive_absolute(const String &p_dir) {}

bool DirAccess::dir_exists_absolute(const String &p_dir) {}

Error DirAccess::copy_absolute(const String &p_from, const String &p_to, int p_chmod_flags) {}

Error DirAccess::rename_absolute(const String &p_from, const String &p_to) {}

Error DirAccess::remove_absolute(const String &p_path) {}

Ref<DirAccess> DirAccess::create(AccessType p_access) {}

Error DirAccess::get_open_error() {}

String DirAccess::get_full_path(const String &p_path, AccessType p_access) {}

Error DirAccess::copy(const String &p_from, const String &p_to, int p_chmod_flags) {}

// Changes dir for the current scope, returning back to the original dir
// when scope exits
class DirChanger {};

Error DirAccess::_copy_dir(Ref<DirAccess> &p_target_da, const String &p_to, int p_chmod_flags, bool p_copy_links) {}

Error DirAccess::copy_dir(const String &p_from, String p_to, int p_chmod_flags, bool p_copy_links) {}

bool DirAccess::exists(const String &p_dir) {}

PackedStringArray DirAccess::get_files() {}

PackedStringArray DirAccess::get_files_at(const String &p_path) {}

PackedStringArray DirAccess::get_directories() {}

PackedStringArray DirAccess::get_directories_at(const String &p_path) {}

PackedStringArray DirAccess::_get_contents(bool p_directories) {}

String DirAccess::_get_next() {}

void DirAccess::set_include_navigational(bool p_enable) {}

bool DirAccess::get_include_navigational() const {}

void DirAccess::set_include_hidden(bool p_enable) {}

bool DirAccess::get_include_hidden() const {}

bool DirAccess::is_case_sensitive(const String &p_path) const {}

void DirAccess::_bind_methods() {}