mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +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 ) {
|
while ( red_u ) {
|
||||||
lit = u3nc(
|
lit = u3nc(
|
||||||
u3_pier_mass(
|
u3_pier_mass(
|
||||||
c3__read,
|
u3dt("cat", 3, c3__read, u3dc("scot", c3__ux, u3i_chub((c3_d)red_u))),
|
||||||
u3i_list(
|
u3i_list(
|
||||||
u3_pier_mase("start", u3i_chub(red_u->eve_d)),
|
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)),
|
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.
|
** the %peel path /help produces a list of available commands.
|
||||||
** /info produces runtime metrics at the moment in time that the
|
** /info produces runtime metrics at the moment in time that the
|
||||||
** request was received.
|
** request was received. the type produced by /info is $mass:
|
||||||
**
|
|
||||||
** the type produced by /info is $mass:
|
|
||||||
**
|
**
|
||||||
** +$ mass (pair cord (each * (list mass)))
|
** +$ mass (pair cord (each * (list mass)))
|
||||||
**
|
**
|
||||||
** where the leaves are conventionally @ud, but the precise
|
** where the leaves are conventionally @ud, but the
|
||||||
** interpretation depends on the metric (e.g. loobean settings
|
** precise interpretation depends on the metric (e.g.
|
||||||
** or integer counters.)
|
** 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
|
** %ovum is a raw kernel move, to be injected directly into
|
||||||
** arvo. needless to say this will void your warranty. usually
|
** arvo. needless to say this will void your warranty. usually
|
||||||
|
Loading…
Reference in New Issue
Block a user