disk

Function disk 

Source
pub async fn disk(inbox: Receiver<Val>, back: Sender<Event>)
Expand description

('host disk): ('write path text), answering 'ok.

A second peer rather than a second verb on files, because a peer is the unit of granting and a host may want reads without writes. It creates nothing but the file: a missing directory is an error, since a mistyped path would otherwise get a tree instead of a complaint.