macula_registry_store (macula v0.20.5)
View SourceMacula Registry Store
Handles local package storage with ETS index and disk persistence: - Package metadata stored in ETS for fast lookups - BEAM archives stored on disk - TTL-based cleanup for stale entries - DHT integration for distributed discovery
Summary
Functions
Delete a package version
Get the latest version of a package
Get a package by name (latest version)
Get a package by name and version
Get all versions of a package
List all packages
Check if a package version exists
Remove expired packages
Search packages by pattern
Start the registry store
Store a package in the registry
Functions
Delete a package version
Get the latest version of a package
Get a package by name (latest version)
Get a package by name and version
Get all versions of a package
List all packages
Check if a package version exists
-spec prune_expired(pid()) -> {ok, non_neg_integer()}.
Remove expired packages
Search packages by pattern
Start the registry store
Store a package in the registry