Skip to content

CapacitorAdapter.getFullPath method

CapacitorAdapter › getFullPath

Official

Gets the full path for a file.

Signature:

getFullPath(normalizedPath: string): string

Parameters:

ParameterTypeDescription
normalizedPathstringThe path of the file in the vault.

Returns: string

Since: 1.7.2

Example:

console.log(adapter.getFullPath('foo/bar.md')); // /storage/emulated/0/path/to/vault/foo/bar.md