mirror of
https://github.com/urbit/shrub.git
synced 2024-12-04 04:35:02 +03:00
Merge branch 'dhaffey-spinner-sigmask', remote-tracking branches 'dhaffey/clay-docs' and 'dhaffey/overflow'
No signals on spinner thread Accurate filesystem command doc Leave page fault handler if stack overflow is suspected (closes #354)
This commit is contained in:
commit
97ff338d1c
@ -82,21 +82,20 @@ Turn off autosync. The argument needs to match the original
|
|||||||
|
|
||||||
### Filesystem manipulation
|
### Filesystem manipulation
|
||||||
|
|
||||||
#### `|rm [paz=(list path)]`
|
#### `|rm [pax=path]`
|
||||||
|
|
||||||
Remove any leaf at each of the paths in `paz`.
|
Remove the leaf at `pax`.
|
||||||
|
|
||||||
|rm /===/pub/fab/nixon/hoon
|
|rm /===/pub/fab/nixon/hoon
|
||||||
|
|
||||||
Remember that folders in `%clay` are a consequence of the tree of
|
Remember that folders in `%clay` are a consequence of the tree of
|
||||||
leaves; there is no `rmdir` or `mkdir`.
|
leaves; there is no `rmdir` or `mkdir`.
|
||||||
|
|
||||||
#### `|cp [too=path fro=path how=$|(~ [germ ~])]`
|
#### `|cp [fro=path too=path]`
|
||||||
|
|
||||||
Copy the subtree `fro` into the subtree `too`, committing it with
|
Copy the leaf at `fro` to `too`.
|
||||||
the specified merge strategy.
|
|
||||||
|
|
||||||
#### `|mv [too=path fro=path how=$|(~ [germ ~])]`
|
#### `|mv [fro=path too=path]`
|
||||||
|
|
||||||
In `%clay`, `|mv` is just a shorthand for `|cp` then `|rm`. The
|
In `%clay`, `|mv` is just a shorthand for `|cp` then `|rm`. The
|
||||||
`|rm` doesn't happen unless the `|cp` succeeds, obviously -- it's
|
`|rm` doesn't happen unless the `|cp` succeeds, obviously -- it's
|
||||||
@ -104,11 +103,9 @@ good to be transactional.
|
|||||||
|
|
||||||
### Filesystem generators
|
### Filesystem generators
|
||||||
|
|
||||||
#### `+cal [paz=(list path)]`
|
#### `+cat [paz=(list path)]`
|
||||||
#### `+cat [pax=path]`
|
|
||||||
|
|
||||||
Produce the noun, if any, at each of these (global) paths.
|
Produce the noun, if any, at each of these (global) paths.
|
||||||
`+cat` produces one result, `+cal` a list.
|
|
||||||
|
|
||||||
#### `+ls [pax=path ~]`
|
#### `+ls [pax=path ~]`
|
||||||
|
|
||||||
@ -119,11 +116,6 @@ the current directory in Unix, it's not possible to build an
|
|||||||
trivial `+ls` that's the equivalent of Unix `ls`. You always
|
trivial `+ls` that's the equivalent of Unix `ls`. You always
|
||||||
have to write `+ls %`.
|
have to write `+ls %`.
|
||||||
|
|
||||||
#### `+ll [pax=path ~]`
|
|
||||||
|
|
||||||
Like `+ls`, but the result is a list of full paths. Useful as
|
|
||||||
Urbit equivalent of the Unix wildcard `*`.
|
|
||||||
|
|
||||||
## A quick overview of `%clay`
|
## A quick overview of `%clay`
|
||||||
|
|
||||||
`%clay` is a typed, global revision-control system. Or in other
|
`%clay` is a typed, global revision-control system. Or in other
|
||||||
|
Loading…
Reference in New Issue
Block a user