IFClite TypeScript API
    Preparing search index...

    Interface PathLockRegistry

    interface PathLockRegistry {
        add(lock: PathLock): PathLock;
        clear(): void;
        list(): readonly PathLock[];
        matches(path: string, principal: Principal): PathLock | null;
        remove(lock: PathLock): boolean;
    }
    Index
    • Drop every lock.

      Returns void

    • Snapshot of currently-active locks.

      Returns readonly PathLock[]

    • Returns the matching lock if path is locked AND principal is not exempt.

      Parameters

      Returns PathLock | null

    • Remove a previously-added lock.

      Parameters

      Returns boolean