PathOrFile
A path or a file.
Import:
import type { PathOrFile } from 'obsidian-dev-utils/obsidian/file-system';Signature:
export type PathOrFileSignature:
type PathOrFile = string | TFileType: string | TFile
Links to this page:
- GetAttachmentFilePathParams
- GetAttachmentFolderPathParams
- GetAvailablePathForAttachmentsExtendedFnParams
- GetAvailablePathForAttachmentsParams
- RenderDelayedBacklinksParams
- FixTitleParams
- RenderIframeParams
- syncOpenEditorBuffersForPath
- ApplyFileChangesParams
- AddAliasParams
- DeleteAliasParams
- ProcessFrontmatterParams
- GetFileOrNullParams
- GetFileParams
- ConvertLinkParams
- EditBacklinksParams
- EditLinksParams
- ExtractLinkFileParams
- GenerateMarkdownLinkParams
- ShouldResetAliasParams
- UpdateFileUrlLinksInFileParams
- UpdateLinkParams
- UpdateLinksInFileParams
- getBacklinksForFileOrPath
- GetBacklinksForFileSafeParams
- getCacheSafe
- getFrontmatterSafe
- RegisterFileCacheForNonExistingFileParams
- unregisterFileCacheForNonExistingFile
- isResourceLockedForPath
- LockResourceForPathParams
- requestResourceUnlockForPath
- ResourceLockComponentLockForPathParams
- unlockResourceForPath
- CopySafeParams
- InvokeWithFileSystemLockParams
- ProcessParams
- readSafe
- saveNote