Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module cache/multi-level-caching-store/opfs-store/opfs-root

    The viewer's OPFS namespace directory.

    Every OPFS directory the viewer persists lives under ONE top-level folder, luxar/, rather than at the origin's OPFS root. An embedder's own OPFS usage (or another library on the same origin) never collides with the zarr-cache-<hash> dataset directories, and a host can wipe the viewer's footprint with a single removeEntry('luxar', { recursive: true }).

    The dataset-directory prefix (zarr-cache-) and OPFS_ENCODING_VERSION are unchanged: moving under luxar/ is itself the invalidation — a pre-namespace zarr-cache-* directory at the OPFS root is simply never read again.

    OPFS_NAMESPACE_DIR
    getLuxarOpfsRoot