mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
27 lines
506 B
Markdown
27 lines
506 B
Markdown
# find api
|
|
|
|
```unison
|
|
rachel.filesystem.x = 42
|
|
ross.httpClient.y = 43
|
|
joey.httpServer.z = 44
|
|
joey.yaml.zz = 45
|
|
```
|
|
|
|
```ucm
|
|
scratch/main> add
|
|
```
|
|
|
|
```api
|
|
-- Namespace segment prefix search
|
|
GET /api/projects/scratch/branches/main/find?query=http
|
|
|
|
-- Namespace segment suffix search
|
|
GET /api/projects/scratch/branches/main/find?query=Server
|
|
|
|
-- Substring search
|
|
GET /api/projects/scratch/branches/main/find?query=lesys
|
|
|
|
-- Cross-segment search
|
|
GET /api/projects/scratch/branches/main/find?query=joey.http
|
|
```
|