FileSystemAdapter.getFullPath method
FileSystemAdapter › getFullPath
Official
Gets the full path for a file.Signature:
getFullPath(normalizedPath: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| normalizedPath | string | The path of the file in the vault. |
Returns: string
Example:
console.log(adapter.getFullPath('foo/bar.md')); // C:\Users\John\Documents\ObsidianVault\foo\bar.md