std::io::path

Public

Types

NameDescription
PathEnv
PathImp
MkdirPermissions

Functions

NameDescription
path::is_reserved_path_char
path::for_windows
path::str_view
path::file_tbasename
path::is_absolute
path::equals
path::absolute
path::downloads_directory
path::desktop_directory
path::mkdirCreate a directory on a given path, optionally recursive.
path::dirname
path::is_dir
path::@is_pathlike
path::temp_directory
path::is_absolute_path
path::is_posix_separator
path::public_share_directory
path::saved_games_directory
path::is_file
path::free
path::newCreates a new path.
path::tappend
path::to_format
path::screenshots_directory
path::to_tpath
path::to_absolute_path
path::to_path
path::home_directory
path::music_directory
path::exists
path::tempCreates a new path using the temp allocator.
path::normalize
path::documents_directory
path::is_separator
path::rmdirTries to delete directory, which must be empty.
path::path_dirname
path::templates_directory
path::basename
path::volume_name
path::parentGet the path of the parent. This does not allocate, but returns a slice...
path::is_reserved_win32_path_char
path::file_basename
path::walkWalk the path recursively. PathWalker is run on every file and...
path::ls
path::videos_directory
path::for_posix
path::extension
path::delete
path::rmtreeLike [rmdir] but deletes a directory even if it contains items.
path::pictures_directory
path::from_win32_wstring
path::is_win32_separator
path::path_tdirname
path::chdir
path::has_suffix
path::as_zstr
path::traverseWalk the path recursively. TraverseCallback is run for every file and...
path::appendAppend the string to the current path.
path::has_extensionTest if the path has the given extension, so given the path /foo/bar.c3...
path::from_wstring
path::tcwd
path::root_directory
path::cwd
path::file_size

Globals

NameDescription
PREFERRED_SEPARATOR
DEFAULT_ENV
PREFERRED_SEPARATOR_POSIX
PREFERRED_SEPARATOR_WIN32
RESERVED_PATH_CHAR_POSIX
RESERVED_PATH_CHAR_WIN32

Private

Functions

NameDescription
path::_rmdir
path::_mkdir