Skip to main content

Module link

Module link 

Source
Expand description

memstead link <scope/name> — fetch a published mem from the registry, cache it locally, and record the dependency in the filesystem workspace config.

Re-fetch is the refresh: invoking memstead link <same-ref> again re-downloads the archive and overwrites the cached file. The workspace-config dep entry is idempotent — WorkspaceConfig::add_dep deduplicates on ==, so repeated invocations do not accumulate duplicate entries.

Cache layout: <workspace_root>/.memstead/memstead-io/<scope>/<name>.mem. The Tier 3 wiki-link resolver consumes the cached archive at this exact path (criterion 7 of the plan, gated on filesystem engine context).

Structs§

LinkArgs
memstead link arguments.

Functions§

run