mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
vere: guarantee unique concatenated names
This commit is contained in:
parent
a480b2a91f
commit
81f4254893
@ -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)),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user