20 lines
313 B
Plaintext
20 lines
313 B
Plaintext
version 1 .
|
|
|
|
Config = {
|
|
dataspace: #!any,
|
|
label: any,
|
|
path: string,
|
|
} .
|
|
|
|
File = <file @label any @path string @encoding Encoding @contents Contents> .
|
|
Encoding = =binary / =utf8 .
|
|
|
|
|
|
Contents =
|
|
/ =absent
|
|
/ =directory
|
|
/ <binary @bytes bytes>
|
|
/ <text @text string>
|
|
/ @invalidText <invalid-text @bytes bytes>
|
|
.
|