mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-09-11 13:55:59 +03:00
Update path-prefix.md
This commit is contained in:
parent
77bf5f43d0
commit
0ded2f084c
@ -10,16 +10,21 @@ symbol = ""
|
||||
usage = "arvo"
|
||||
desc = "The first three elements of a Clay file path denoting ship, desk and case (revision number)."
|
||||
|
||||
[glossaryEntry."beak"]
|
||||
name = "beak"
|
||||
symbol = ""
|
||||
usage = "arvo"
|
||||
desc = "The first three elements of a Clay file path denoting ship, desk and case (revision number)."
|
||||
+++
|
||||
|
||||
A **path prefix** is the first three elements of a
|
||||
[Clay](/reference/glossary/clay) [path](/reference/glossary/path). These three
|
||||
fields encode a `beak` in path-form. A `beak` is a triple of
|
||||
fields encode a `beak` in `path` form. A `beak` is a triple of
|
||||
[ship](/reference/glossary/ship), [desk](/reference/glossary/desk), and
|
||||
[case](/reference/glossary/case). Here's an example:
|
||||
|
||||
```hoon
|
||||
/~sampel/base/~2022.9.4..17.13.12..5835
|
||||
/~sampel-palnet/base/~2022.9.4..17.13.12..5835
|
||||
```
|
||||
|
||||
The first two fields are the ship and desk in which the target file resides.
|
||||
@ -28,7 +33,7 @@ of:
|
||||
|
||||
- The revision date-time in `@da` format, as in the example above.
|
||||
- A revision number like `42` (`1` is the first commit and it's numbered sequentially).
|
||||
- A revision label like `foo`. People rarely label commits so this is seldom useful.
|
||||
- A revision label like `foo`. People rarely label commits so this is seldom useful today.
|
||||
|
||||
So you could do any of:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user