mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-09-11 13:55:59 +03:00
clay: add missing buc-x scries to scry ref
This commit is contained in:
parent
f193b62b85
commit
814637dfb6
@ -79,6 +79,46 @@ Example:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### `/cult/[desk]` - Subscribers
|
||||||
|
|
||||||
|
A buc scry with a path of `/cult/[desk]` will return the current subscriptions
|
||||||
|
for the specified `desk`.
|
||||||
|
|
||||||
|
The type returned is:
|
||||||
|
|
||||||
|
```hoon
|
||||||
|
(set [@p rave:clay])
|
||||||
|
```
|
||||||
|
|
||||||
|
See the [`$rave:clay`](/reference/arvo/clay/data-types#raveclay) data
|
||||||
|
type entry for more details of the `$rave` structure.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
> .^((set [@p rave:clay]) %cx /=//=/cult/kids)
|
||||||
|
{ [~zod [%next mood=[care=%z case=[%da p=~2023.7.27..13.41.30..0536] path=/]]]
|
||||||
|
[~zod [%next mood=[care=%z case=[%da p=~2023.7.27..13.41.30..0536] path=/desk/docket-0]]]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### `/flow` - Build cache
|
||||||
|
|
||||||
|
A buc scry with a path of `/flow` will return the global build cache.
|
||||||
|
The type returned is a
|
||||||
|
[`$flow:clay`](/reference/arvo/clay/data-types#flow).
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
> ~(wyt by .^(flow:clay %cx /=//=/flow))
|
||||||
|
960
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### `/domes` - All domes
|
### `/domes` - All domes
|
||||||
|
|
||||||
A buc scry with a path of `/domes` will return a
|
A buc scry with a path of `/domes` will return a
|
||||||
@ -188,10 +228,14 @@ Example:
|
|||||||
A scry with a `care` of `%d` will return a `(set desk)` of the `desk`s that
|
A scry with a `care` of `%d` will return a `(set desk)` of the `desk`s that
|
||||||
exist on your ship.
|
exist on your ship.
|
||||||
|
|
||||||
|
Note this scry should be performed with an empty `desk` field (`%$`) in
|
||||||
|
the `beak` (e.g. `/=//=`). If it's not empty, it'll work but Clay will
|
||||||
|
complain in the terminal.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
> .^((set desk) %cd %)
|
> .^((set desk) %cd /=//=)
|
||||||
{%bitcoin %base %landscape %webterm %garden %kids}
|
{%bitcoin %base %landscape %webterm %garden %kids}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user