ResourceLockComponentLockForPathParams.shouldBlockMutations?
ResourceLockComponentLockForPathParams › shouldBlockMutations?
Type: boolean
Whentrue, the lock also **blocks vault mutations** of the covered path(s): any attempt to edit, delete, rename, move, or (re)create the resource through the Vault/FileManager API throws a ResourceLockedError. Installed lazily on the first such lock and removed when the last one is released. When false (the default) the lock only makes the editor read-only — legacy behavior, so existing consumers that write to a note they hold an editor lock on are unaffected.