mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
fix(docs): cross-link to correct PathResolver method in path module docs. (#5714)
This commit is contained in:
parent
2d545eff58
commit
04681a6b13
@ -535,7 +535,7 @@ pub fn app_data_dir(config: &Config) -> Option<PathBuf> {
|
||||
///
|
||||
/// Resolves to [`local_data_dir`]`/${bundle_identifier}`.
|
||||
///
|
||||
/// See [`PathResolver::app_data_dir`](crate::PathResolver#method.app_data_dir) for a more convenient helper function.
|
||||
/// See [`PathResolver::app_local_data_dir`](crate::PathResolver#method.app_local_data_dir) for a more convenient helper function.
|
||||
pub fn app_local_data_dir(config: &Config) -> Option<PathBuf> {
|
||||
dirs_next::data_local_dir().map(|dir| dir.join(&config.tauri.bundle.identifier))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user