vere: guarantee unique concatenated names

This commit is contained in:
Jōshin 2022-03-06 16:45:55 -05:00
parent a480b2a91f
commit 81f4254893
No known key found for this signature in database
GPG Key ID: A8BE5A9A521639D0
2 changed files with 10 additions and 7 deletions

View File

@ -669,7 +669,7 @@ u3_disk_info(u3_disk* log_u)
while ( red_u ) {
lit = u3nc(
u3_pier_mass(
c3__read,
u3dt("cat", 3, c3__read, u3dc("scot", c3__ux, u3i_chub((c3_d)red_u))),
u3i_list(
u3_pier_mase("start", u3i_chub(red_u->eve_d)),
u3_pier_mase("final", u3i_chub(red_u->eve_d + red_u->len_d - 1)),

View File

@ -56,15 +56,18 @@
**
** the %peel path /help produces a list of available commands.
** /info produces runtime metrics at the moment in time that the
** request was received.
**
** the type produced by /info is $mass:
** request was received. the type produced by /info is $mass:
**
** +$ mass (pair cord (each * (list mass)))
**
** where the leaves are conventionally @ud, but the precise
** interpretation depends on the metric (e.g. loobean settings
** or integer counters.)
** where the leaves are conventionally @ud, but the
** precise interpretation depends on the metric (e.g.
** loobean settings or integer counters.) it is acceptable
** to flatten the list by prepending the parent cord
** to each child element with a separator, e.g.:
** [%pier %| [%ames %| [%packets-sent %& 37] ~] ~] could be
** rendered as 'pier-ames-packets-sent'. this transformation is
** guaranteed to result in unique names.
**
** %ovum is a raw kernel move, to be injected directly into
** arvo. needless to say this will void your warranty. usually