os.#File: simplify API

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2021-06-09 18:37:05 +00:00
committed by Solomon Hykes
parent 9984edad09
commit 9d85bab9e7
9 changed files with 86 additions and 25 deletions

View File

@@ -107,7 +107,8 @@ package op
}
#WriteFile: {
do: "write-file"
do: "write-file"
// FIXME: "contents" to follow english convention
content: string | bytes
dest: string
mode: int | *0o644