normalize
normalize(
path):Promise<string>
Defined in: path.ts:673
Normalizes the given path, resolving '..' and '.' segments and resolve symbolic links.
string
Promise<string>
import { normalize, appDataDir } from '@tauri-apps/api/path';const appDataDirPath = await appDataDir();const path = await normalize(`${appDataDirPath}/../users/tauri/avatar.png`);1.0.0
© 2025 Tauri Contributors. CC-BY / MIT