GetFileParams
Parameters for getFile.
Import:
import type { GetFileParams } from 'obsidian-dev-utils/obsidian/file-system';Signature:
export interface GetFileParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian App instance. |
| isCaseInsensitive? | boolean | Specifies whether to perform a case-insensitive search. When undefined or not specified, the behavior is determined by the actual file system. |
| pathOrFile | PathOrFile | The path or file to retrieve the file for. |
| shouldIncludeNonExisting? | boolean | Whether to include a non-existing file. If true, a new file is created for the provided path. If false, an error is thrown if the file is not found. |
Links to this page: