godot/drivers/unix/dir_access_unix.cpp

/**************************************************************************/
/*  dir_access_unix.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_unix.h"

#if defined(UNIX_ENABLED)

#include "core/os/memory.h"
#include "core/os/os.h"
#include "core/string/print_string.h"
#include "core/templates/list.h"

#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/statvfs.h>

#ifdef HAVE_MNTENT
#include <mntent.h>
#endif

Error DirAccessUnix::list_dir_begin() {}

bool DirAccessUnix::file_exists(String p_file) {}

bool DirAccessUnix::dir_exists(String p_dir) {}

bool DirAccessUnix::is_readable(String p_dir) {}

bool DirAccessUnix::is_writable(String p_dir) {}

uint64_t DirAccessUnix::get_modified_time(String p_file) {}

String DirAccessUnix::get_next() {}

bool DirAccessUnix::current_is_dir() const {}

bool DirAccessUnix::current_is_hidden() const {}

void DirAccessUnix::list_dir_end() {}

#if defined(HAVE_MNTENT) && defined(LINUXBSD_ENABLED)
static bool _filter_drive(struct mntent *mnt) {}
#endif

static void _get_drives(List<String> *list) {}

int DirAccessUnix::get_drive_count() {}

String DirAccessUnix::get_drive(int p_drive) {}

int DirAccessUnix::get_current_drive() {}

bool DirAccessUnix::drives_are_shortcuts() {}

Error DirAccessUnix::make_dir(String p_dir) {}

Error DirAccessUnix::change_dir(String p_dir) {}

String DirAccessUnix::get_current_dir(bool p_include_drive) const {}

Error DirAccessUnix::rename(String p_path, String p_new_path) {}

Error DirAccessUnix::remove(String p_path) {}

bool DirAccessUnix::is_link(String p_file) {}

String DirAccessUnix::read_link(String p_file) {}

Error DirAccessUnix::create_link(String p_source, String p_target) {}

uint64_t DirAccessUnix::get_space_left() {}

String DirAccessUnix::get_filesystem_type() const {}

bool DirAccessUnix::is_hidden(const String &p_name) {}

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

DirAccessUnix::DirAccessUnix() {}

DirAccessUnix::~DirAccessUnix() {}

#endif // UNIX_ENABLED