ResourceLockComponent.isMutationBlockedByAncestorForPath method
ResourceLockComponent › isMutationBlockedByAncestorForPath
Checks whether a vault mutation of the path is currently blocked by ashouldBlockMutations lock on the path itself or on a subtree-locked ancestor folder.Signature:
isMutationBlockedByAncestorForPath(pathOrFile: PathOrFile): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| pathOrFile | PathOrFile | The path or file to check. |
Returns: boolean — true if editing/deleting/renaming/moving/creating the path would throw a ResourceLockedError.