Skip to main content

Module cache

Module cache 

Source

Structs§

Cache
Persistent store of previously seen flake URIs.

Enums§

CacheConfig
Where to read and write the URI completion cache.

Constants§

DEFAULT_URI_TYPES
Flake URI type prefixes offered by completion.

Functions§

populate_cache_from_input_map
Convenience wrapper over populate_cache_from_inputs for the result of crate::edit::FlakeEdit::list. A no_cache of true makes the call a no-op.
populate_cache_from_inputs
Load the on-disk cache, add any new (id, uri) pairs, and commit.