Skip to content

0.4.8: a link's own stamp - #28

Merged
Sunrisepeak merged 1 commit into
mainfrom
feat/stamp-of-a-link
Nov 22, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
feat/stamp-of-a-link

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

stamp_of(node, false) reads a link's own size and modification time without following it (openkal's KAL_FS_NO_RESOLVE); a dangling link has a stamp of its own. The default is unchanged.

A program that keeps links as records reads them so: the roots of an xlings store (<home>/data/roots/<owner>/<store-name>@<version>), whose modification time is when their owner last used the payload (openxlings/xlings#735, store-roots specification). mcpp registers a root for each payload a build wires and removes the roots it has not used for the period mcpp cache gc --older-than names (mcpp-community/mcpp design 2026-11-22 §3.11).

Test: fs_test makes a dangling link and reads its own stamp; the stamp of what it would refer to is absent.

stamp_of(node, false) reads a link's own size and modification time without following it (KAL_FS_NO_RESOLVE); a dangling link has one. A store's roots record their last use as the link's time.
@Sunrisepeak
Sunrisepeak merged commit 6ea19fa into main Nov 22, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant