Skip to content

CanvasLinkUpdater

Unofficial

Link updater for canvas files, handling link updates when files are renamed or moved.

Import:

import type { CanvasLinkUpdater } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface CanvasLinkUpdater extends LinkUpdater

Extends: LinkUpdater

Properties

Property Type Description
app App Reference to the app.
canvas CanvasPluginInstance Canvas plugin instance used to access canvas data.

Methods

Method Returns Description
applyUpdates(file, updates) Promise<void> Apply a batch of link change updates to the given file.
(Inherited from LinkUpdater)
iterateReferences(callback) void Iterate over all references managed by this updater.
(Inherited from LinkUpdater)
iterateReferencesForFile(path, callback) void Iterate over all references managed by this updater for a specific file.
(Inherited from LinkUpdater)
renameSubpath(file, oldSubpath, newSubpath) Promise<void> Rename a subpath reference (e.g. heading or block) within a file.
(Inherited from LinkUpdater)

Links to this page: