#include <xtd/io/file>
#include <xtd/io/file_info>
#include <xtd/io/path>
#include <xtd/console>
auto main() -> int {
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
Provides static methods for the creation, copying, deletion, moving, and opening of files,...
Definition file_info.hpp:41
bool exists() const override
Gets a value indicating whether a file exists.
size_t length() const
Gets the size, in bytes, of the current file.
xtd::string name() const override
Gets the name of the file.
const xtd::date_time & last_access_time() const
Gets the time the current file or directory was last accessed.
const xtd::date_time & creation_time() const
Gets the creation time of the current file or directory.
xtd::io::file_attributes attributes() const
Gets the attributes for the current file or directory.
xtd::string full_name() const
Gets the full path of the directory or file.
const xtd::date_time & last_write_time() const
Gets the time when the current file or directory was last written to.
xtd::string to_string() const noexcept override
Returns the original path. Use the xtd::io::file_system_info::full_name or xtd::io::file_system_info:...
virtual xtd::string extension() const
Gets the extension part of the file name, including the leading dot . even if it is the entire file n...
static void remove(const xtd::string &path)
Deletes the specified file.
static void write_all_text(const xtd::string &path, type_t text)
Writes text to a file, and then closes the file. If the specified file does not exist,...
Definition file.hpp:359
static xtd::string get_temp_path() noexcept
Returns the path of the current user's temporary folder.
static xtd::string combine(const xtd::string &path1, const xtd::string &path2)
Combines two path strings.
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:17
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8