Module tauri_wasm::api::path

source ·
Expand description

§Path bindings

The path module provides utilities for working with file and directory paths.

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.
  • 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 last portion of a path. Trailing directory separators are ignored.
  • 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 directory name of a path. Trailing directory separators are ignored.
  • 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 extension of the path.
  • Returns the path to the user’s font directory.
  • Returns the path to the user’s home directory.
  • Returns whether the path is absolute or not.
  • Joins all given path segments together using the platform-specific separator as a delimiter, then normalizes the resulting path.
  • Returns the path to the user’s local data directory.
  • Normalizes the given path, resolving '..' and '.' segments and resolve symbolic links.
  • Returns the path to the user’s picture directory.
  • Returns the path to the user’s public directory.
  • Resolves a sequence of paths or path segments into an absolute path.
  • Resolve the path to a resource file.
  • Returns the path to the application’s resource directory.
  • 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 directory.