Skip to content

CopySafeParams

Parameters for copySafe.

Import:

import type { CopySafeParams } from 'obsidian-dev-utils/obsidian/vault';

Signature:

export interface CopySafeParams

Properties

PropertyTypeDescription
appAppThe application instance.
newPathstringThe new path to copy the file or folder to.
oldPathOrFilePathOrAbstractFileThe old path, file or folder to copy. A folder is copied with its whole subtree.

Links to this page: