This commit is contained in:
atagen 2025-07-19 14:34:21 +10:00
commit e7fa12d6f3
6 changed files with 688 additions and 0 deletions

31
v1.cue Normal file
View file

@ -0,0 +1,31 @@
#path_string: string & =~ "^/"
#file_string: #path_string & =~ "[^/]$"
#octal_string: string & =~ "^[0-7]{3,4}$"
#ArbysFile: {
type!: string
source?: #path_string
target!: #path_string
clobber?: bool
permissions?: #octal_string
uid?: int & >=0
gid?: int & >=0
deactivate?: bool
} & ({
type: "copy"
target!: #file_string
source!: #file_string
...
} | {
type: "symlink"
source!: _
...
} | {
type: "delete" | "directory" | "modify"
...
})
{
version: 1
files: [...#ArbysFile]
}