IFClite TypeScript API
    Preparing search index...

    Class PathIndex

    Index for fast path lookups across layers.

    Index
    • Build index from layers.

      Parameters

      Returns void

    • Clear the index.

      Returns void

    • Get all UUIDs in the index.

      Returns string[]

    • Get children of a node.

      Parameters

      • uuid: string

      Returns Map<string, string> | undefined

    • Get entry for a UUID.

      Parameters

      • uuid: string

      Returns PathEntry | undefined

    • Get index statistics.

      Returns { childRelationships: number; hierarchicalCount: number; uuidCount: number }

    • Check if a path exists.

      Parameters

      • path: string

      Returns boolean

    • Resolve a path to its canonical UUID. Accepts both direct UUIDs and hierarchical paths.

      Parameters

      • path: string

      Returns string | null