ResourceLockComponent.isLockedByAncestorForPath method
ResourceLockComponent › isLockedByAncestorForPath
Checks whether the path is locked directly or lies under asubtree-locked ancestor folder.Signature:
isLockedByAncestorForPath(pathOrFile: PathOrFile): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| pathOrFile | PathOrFile | The path or file to check. |
Returns: boolean — true if the path is itself locked or is covered by a subtree lock on an ancestor.