ResourceLockMode
The scope of a lock.
'file'locks only the exact path. -'subtree'locks the path and every descendant under it (its whole folder subtree), so a file inside asubtree-locked folder is treated as locked too.
Import:
import type { ResourceLockMode } from 'obsidian-dev-utils/obsidian/resource-lock';Signature:
export type ResourceLockModeSignature:
type ResourceLockMode = 'file' | 'subtree'Type: ‘file’ | ‘subtree’
Links to this page: