Volt.HMR.GlobGraph (Volt v0.13.0)

Copy Markdown View Source

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

Summary

Functions

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()

create_table()

Create the glob graph ETS table.

dependents(path)

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

remove(path)

update(importer, globs)

Store glob patterns owned by an importer.

update_from_source(path, source)

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