Joins all given path segments together using the platform-specific separator as a delimiter, then normalizes the resulting path.
path
import { join, appDataDir } from '@tauri-apps/api/path';const appDataDirPath = await appDataDir();const path = await join(appDataDirPath, 'users', 'tauri', 'avatar.png'); Copy
import { join, appDataDir } from '@tauri-apps/api/path';const appDataDirPath = await appDataDir();const path = await join(appDataDirPath, 'users', 'tauri', 'avatar.png');
1.0.0
Joins all given
path
segments together using the platform-specific separator as a delimiter, then normalizes the resulting path.