Module tauri::api::path

source ·
Expand description

Types and functions related to file system path operations.

Enums

A base directory to be used in resolve_path.

Functions

Returns the path to the suggested directory for your app’s cache files.
Returns the path to the suggested directory for your app’s config files.
Returns the path to the suggested directory for your app’s data files.
app_dirDeprecated
Returns the path to the suggested directory for your app’s config files.
Returns the path to the suggested directory for your app’s local data files.
Returns the path to the suggested directory for your app’s log files.
Returns the path to the user’s audio directory.
Returns the path to the user’s cache directory.
Returns the path to the user’s config directory.
Returns the path to the user’s data directory.
Returns the path to the user’s desktop directory.
Returns the path to the user’s document directory.
Returns the path to the user’s download directory.
Returns the path to the user’s executable directory.
Returns the path to the user’s font directory.
Returns the path to the user’s home directory.
Returns the path to the user’s local data directory.
log_dirDeprecated
Returns the path to the suggested directory for your app’s log files.
Parse the given path, resolving a BaseDirectory variable if the path starts with one.
Returns the path to the user’s picture directory.
Returns the path to the user’s public directory.
Resolves the path with the optional base directory.
Returns the path to the resource directory of this app.
Returns the path to the user’s runtime directory.
Returns the path to the user’s template directory.
Returns the path to the user’s video dir