Module path

Source
Expand description

The file system path operations API.

Enums§

BaseDirectory
A Base Directory to use. The base directory is the optional root of a FS operation. If informed by the API call, all paths will be relative to the path of the given directory.

Functions§

app_dir
Returns the path to the suggested directory for your app config files.
audio_dir
Returns the path to the user’s audio directory.
cache_dir
Returns the path to the user’s cache directory.
config_dir
Returns the path to the user’s config directory.
data_dir
Returns the path to the user’s data directory.
desktop_dir
Returns the path to the user’s desktop directory.
document_dir
Returns the path to the user’s document directory.
download_dir
Returns the path to the user’s download directory.
executable_dir
Returns the path to the user’s executable directory.
font_dir
Returns the path to the user’s font directory.
home_dir
Returns the path to the user’s home directory.
local_data_dir
Returns the path to the user’s local data directory.
picture_dir
Returns the path to the user’s picture directory.
public_dir
Returns the path to the user’s public directory.
resolve_path
Resolves the path with the optional base directory.
resource_dir
Returns the path to the resource directory of this app.
runtime_dir
Returns the path to the user’s runtime directory.
template_dir
Returns the path to the user’s template directory.
video_dir
Returns the path to the user’s video dir