19 lines
310 B
Promela
19 lines
310 B
Promela
|
<require-service <daemon fs>>
|
||
|
|
||
|
<daemon fs {
|
||
|
argv: "./bin/syndicate-fs.js",
|
||
|
protocol: application/syndicate,
|
||
|
}>
|
||
|
|
||
|
? <service-object <daemon fs> ?cap> [
|
||
|
$cap {
|
||
|
dataspace: $config,
|
||
|
label: here,
|
||
|
path: ".",
|
||
|
}
|
||
|
]
|
||
|
|
||
|
? <file here "test.txt" utf8 ?content> [
|
||
|
$log ! <log "-" { content: $content }>
|
||
|
]
|