syndicate-js/packages/fs/example-server-config.pr

20 lines
336 B
Promela
Raw Normal View History

2022-04-28 20:06:08 +00:00
<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: ".",
2022-05-03 08:37:51 +00:00
awaitWriteFinish: #t,
2022-04-28 20:06:08 +00:00
}
]
? <file here "test.txt" utf8 ?content> [
$log ! <log "-" { content: $content }>
]