FileSystemAdapter.getFilePath method
FileSystemAdapter › getFilePath
Official
Returns the file:// path of this file.Signature:
getFilePath(normalizedPath: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| normalizedPath | string | The path of the file. |
Returns: string
Since: 0.14.3
Example:
console.log(adapter.getFilePath('foo/bar.md')); // file:///C:/Users/John/Documents/ObsidianVault/foo/bar.md