Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Resolve the luxar/ namespace directory under the origin's OPFS root.

      With create: true the directory is created on demand (the store's mount path). With create: false a missing namespace directory — a cold origin that has never run the viewer — surfaces as the platform NotFoundError DOMException, which read-only callers such as OPFSStore.listAll treat as "nothing cached".

      Rejects when OPFS itself is unavailable (navigator.storage.getDirectory absent or rejecting), exactly like the raw root call it wraps.

      Parameters

      • options: { create: boolean }

      Returns Promise<FileSystemDirectoryHandle>