Rename mode to permissions in fs.cue

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
This commit is contained in:
Vasek - Tom C
2021-12-22 14:17:52 +01:00
parent 8819a859a1
commit fd6d1b55fe
8 changed files with 30 additions and 31 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
@@ -43,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
}