Skip to content

getAbstractFilePathSafe

Gets a safe path for a file or folder.

Import:

import { getAbstractFilePathSafe } from 'obsidian-dev-utils/obsidian/vault';

Signature:

function getAbstractFilePathSafe(params: GetAbstractFilePathSafeParams): string

Parameters:

ParameterTypeDescription
paramsGetAbstractFilePathSafeParamsThe parameters for getting a safe path.

Returns: string — The safe path for the file or folder.


Links to this page: