getAbstractFilePathSafe
Gets a safe path for a file or folder.
Import:
import { getAbstractFilePathSafe } from 'obsidian-dev-utils/obsidian/vault';Signature:
function getAbstractFilePathSafe(params: GetAbstractFilePathSafeParams): stringParameters:
| Parameter | Type | Description |
|---|---|---|
params | GetAbstractFilePathSafeParams | The parameters for getting a safe path. |
Returns: string — The safe path for the file or folder.
Links to this page: