Skip to content

UpdateFileUrlLinksInFileParams

Params for updateFileUrlLinksInFile.

Import:

import type { UpdateFileUrlLinksInFileParams } from 'obsidian-dev-utils/obsidian/link';

Signature:

export interface UpdateFileUrlLinksInFileParams extends ProcessOptions

Extends: ProcessOptions

Properties

PropertyTypeDescription
appAppAn Obsidian app instance.
pathOrFilePathOrFileThe path or file to normalize the file:// links in.
pluginNoticeComponentnull | PluginNoticeComponentPlugin notice component used to show the timeout notice. When null, no timeout notice is shown regardless of ProcessOptions.shouldShowTimeoutNotice; the timeout is only logged.
(Inherited from ProcessOptions)
resourceLockComponentnull | ResourceLockComponentAn resource-lock component used to lock the file's editor read-only for the duration of processing. The lock is reference-counted, so it composes with any outer operation-level lock on the same note.
(Inherited from ProcessOptions)
shouldFailOnMissingFile?booleanWhether to fail if the file is missing or deleted.
(Inherited from ProcessOptions)
shouldShowTimeoutNotice?booleanWhether to show a timeout notice.
(Inherited from ProcessOptions)
shouldUseAngleBrackets?booleanWhether to emit the normalized links with angle brackets and raw spaces instead of %20-encoding.

Links to this page: