mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-09 16:24:08 +03:00
Improve testing of link/unlink
Adds a check for links by type, and a check for unlink
This commit is contained in:
parent
9eeb1eef21
commit
e32b2b0057
@ -48,6 +48,7 @@ We can look at the links we have:
|
||||
|
||||
```ucm
|
||||
.> links coolFunction
|
||||
.> links coolFunction License
|
||||
```
|
||||
|
||||
We can link the same metadata simultaneously to multiple definitions:
|
||||
@ -67,4 +68,6 @@ myLibrary.h x = x + 3
|
||||
.myLibrary> links g
|
||||
.myLibrary> links h
|
||||
.myLibrary> history
|
||||
|
||||
.> unlink coolFunction.doc coolFunction
|
||||
```
|
||||
|
@ -108,6 +108,13 @@ We can look at the links we have:
|
||||
Tip: Try using `display 1` to display the first result or
|
||||
`view 1` to view its source.
|
||||
|
||||
.> links coolFunction License
|
||||
|
||||
1. coolFunction.license : License
|
||||
|
||||
Tip: Try using `display 1` to display the first result or
|
||||
`view 1` to view its source.
|
||||
|
||||
```
|
||||
We can link the same metadata simultaneously to multiple definitions:
|
||||
|
||||
@ -193,4 +200,11 @@ myLibrary.h x = x + 3
|
||||
|
||||
□ #7rksc58cce (start of history)
|
||||
|
||||
.> unlink coolFunction.doc coolFunction
|
||||
|
||||
Updates:
|
||||
|
||||
1. coolFunction : Nat -> Nat
|
||||
- 2. doc : Doc
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user