Merge pull request #1288 from TomChv/fix/fs-naming

This commit is contained in:
Andrea Luzzardi
2021-12-23 15:03:39 +01:00
committed by GitHub
8 changed files with 30 additions and 34 deletions

View File

@@ -11,8 +11,8 @@ package engine
// It can be nested (e.g : "/foo" or "/foo/bar")
path: string
// Permissions to set
mode: *0o755 | int
// Permissions of the directory
permissions: *0o755 | int
// If set, it creates parents' directory if they do not exist
parents: *true | false
@@ -30,9 +30,6 @@ package engine
path: string
// Contents of the file
contents: string
// Output filesystem tree
// FIXME: this is a no-op. No output needed.
output: #FS
}
// Write a file to a filesystem tree, creating it if needed
@@ -46,8 +43,7 @@ package engine
// Contents to write
contents: string
// Permissions of the file
// FIXME: rename to 'permissions' for consistency
mode: int
permissions: int
// Output filesystem tree
output: #FS
}