getFile
Retrieves a file based on the provided path or file.
Import:
import { getFile } from '@mnaoumov/obsidian-lib/file-system';Signature:
function getFile(params: GetFileParams): TFileParameters:
| Parameter | Type | Description |
|---|---|---|
params |
GetFileParams | The parameters for the retrieval. |
Returns: TFile — The file corresponding to the provided path or file.
Links to this page: