on master help sign in
unbold example code titles
commit20c0b4cb698615d55b686b8d70df3f5d2db8c487 authortinnus-napbus <admin@tinnus-napbus.xyz> dateFri 7 May 2021, 23:04 (5 years ago) parenteed6a2b
6 files changed+15−15
arvo/clay/foreign-requests.md+2−2 arvo/clay/merge.md+1−1 arvo/clay/mounts.md+2−2 arvo/clay/permissions.md+2−2 arvo/clay/read.md+5−5 arvo/clay/write.md+3−3
arvo/clay/foreign-requests.md+2−2
@@ -38,7 +38,7 @@ We'll use a fake ~nes as the the foreign ship and a fake ~zod as the local ship.
3838
3939First we'll set permissions on the foreign ship. Here's a simple thread that just sends a task to clay:
4040
41−**`send-clay-task.hoon`**
41+`send-clay-task.hoon`
4242
4343```hoon
4444/- spider
@@ -72,7 +72,7 @@ If we scry the file for its permissions with a `%p` care, we'll see ~zod is now
7272
7373Next, save the following thread to `ted/send-task-take-gift.hoon` on ~zod:
7474
75−**`send-task-take-gift.hoon`**
75+`send-task-take-gift.hoon`
7676
7777```hoon
7878/- spider
arvo/clay/merge.md+1−1
@@ -61,7 +61,7 @@ Example:
6161
6262Here's a thread that sends the given `task:clay` to clay and prints the `gift:clay` response:
6363
64−**`send-task.hoon`**
64+`send-task.hoon`
6565
6666```hoon
6767/- spider
arvo/clay/mounts.md+2−2
@@ -35,7 +35,7 @@ Example:
3535
3636Here's a thread that sends a `task:clay` and takes a `gift:clay` in response:
3737
38−**`send-task-take-gift.hoon`**
38+`send-task-take-gift.hoon`
3939
4040```hoon
4141/- spider
@@ -83,7 +83,7 @@ Example:
8383
8484Here's a thread which will send the given `task:clay` to clay.
8585
86−**`send-task.hoon`**
86+`send-task.hoon`
8787
8888```hoon
8989/- spider
arvo/clay/permissions.md+2−2
@@ -94,7 +94,7 @@ Example:
9494
9595Here's a generic thread that just sends the given `task:clay` to clay so we can try a few different things:
9696
97−**`send-clay-task.hoon`**
97+`send-clay-task.hoon`
9898
9999```hoon
100100/- spider
@@ -233,7 +233,7 @@ Example:
233233
234234Here's a generic thread that sends the given `task:clay` and receives a gift which it just prints to the dojo.
235235
236−**`send-task-take-gift.hoon`**
236+`send-task-take-gift.hoon`
237237
238238```hoon
239239/- spider
arvo/clay/read.md+5−5
@@ -109,7 +109,7 @@ You can use whichever you prefer. The `path` will usually be a path to a file or
109109
110110Example:
111111
112−**`read-file.hoon`**
112+`read-file.hoon`
113113
114114```hoon
115115/- spider
@@ -181,7 +181,7 @@ This subscribes to the next version of the specified file. The `mood` structure
181181
182182If you subscribe to the current case of the desk, clay will not respond until the file changes. If you subscribe to a previous case of the desk and the file has changed in between then and now, it will immediately return the first change it comes across in that range. For example, if you're currently at case `100`, subscribe to case `50` and the file in question has been modified at both `60` and `80`, clay will immediately return the version of the file at case `60`.
183183
184−**`sub-next.hoon`**
184+`sub-next.hoon`
185185
186186```hoon
187187/- spider
@@ -271,7 +271,7 @@ Example:
271271
272272This thread will subscribe to `/foo/txt` with an `%x` care and `/bar/txt` with a `%u` care. It will print out the `%wris` it gets back from clay.
273273
274−**`sub-mult.hoon`**
274+`sub-mult.hoon`
275275
276276```hoon
277277/- spider
@@ -379,7 +379,7 @@ Example:
379379
380380This thread will subscribe to changes to your `%home` desk for the next three minutes. The `track` is `%.y` so it will only inform you of changes, not send the full `nako`. It will only get updates if the specified file exists. It contains a `main-loop` that will take an arbitrary number of signs and print them out in the dojo. Since it never ends, you'll need to stop it with the `:spider|kill` command in the dojo.
381381
382−**`sub-many.hoon`**
382+`sub-many.hoon`
383383
384384```hoon
385385/- spider
@@ -475,7 +475,7 @@ Example:
475475
476476This thread will subscribe to the `%next` version of `/foo/txt`, then immediately cancel the subscription and wait for a response to print (which it will never receive).
477477
478−**`stop-sub.hoon`**
478+`stop-sub.hoon`
479479
480480```hoon
481481/- spider
arvo/clay/write.md+3−3
@@ -57,7 +57,7 @@ Now we'll look at some example threads:
5757
5858## Add File
5959
60−**`add-file.hoon`**
60+`add-file.hoon`
6161
6262```hoon
6363/- spider
@@ -95,7 +95,7 @@ Here's a breakdown of the `task:clay` we sent:
9595
9696## Delete File
9797
98−**`delete-file.hoon`**
98+`delete-file.hoon`
9999
100100```hoon
101101/- spider
@@ -136,7 +136,7 @@ Identical to the [Add File](#add-file) example, just replace `%ins` with `%mut`.
136136
137137Since `soba:clay` is just a `list` of `miso:clay`, you can add a bunch of `miso:clay` and they'll all be applied. This thread adds three files and then deletes them. Here there's only one type of `miso` in each request but you could mix different types together too.
138138
139−**`multi-change.hoon`**
139+`multi-change.hoon`
140140
141141```hoon
142142/- spider