Volt.HMR.GlobGraph (Volt v0.19.4)

Copy Markdown View Source

Tracks import.meta.glob() ownership for HMR invalidation.

Summary

Functions

Remove glob ownership for one session.

Create the glob graph ETS table.

Find all files with an import.meta.glob() pattern matching path.

Store glob patterns owned by an importer.

Extract and store import.meta.glob() patterns from source.

Functions

clear()

clear_session(session)

Remove glob ownership for one session.

create_table()

Create the glob graph ETS table.

dependents(path, session \\ :default)

Find all files with an import.meta.glob() pattern matching path.

remove(path, session \\ :default)

update(importer, globs, session \\ :default)

Store glob patterns owned by an importer.

update_from_source(path, source, session \\ :default)

Extract and store import.meta.glob() patterns from source.