@@ -1,20 +1,23 @@
|
||||
package engine
|
||||
|
||||
// Read a file from a filesystem tree
|
||||
// Create one or multiple directory in a container
|
||||
#Mkdir: {
|
||||
$dagger: task: _name: "Mkdir"
|
||||
|
||||
// Container filesystem
|
||||
input: #FS
|
||||
|
||||
// Path of the directory
|
||||
// Path of the directory to create
|
||||
// It can be nested (e.g : "/foo" or "/foo/bar")
|
||||
path: string
|
||||
|
||||
// Permission to set
|
||||
// Permissions to set
|
||||
mode: *0o755 | int
|
||||
|
||||
// Create parents' directory if they do not exist
|
||||
// If set, it creates parents' directory if they do not exist
|
||||
parents: *true | false
|
||||
|
||||
// Modified filesystem
|
||||
output: #FS
|
||||
}
|
||||
|
||||
@@ -57,23 +60,6 @@ package engine
|
||||
output: #FS
|
||||
}
|
||||
|
||||
// Create a directory
|
||||
#Mkdir: {
|
||||
@dagger(notimplemented)
|
||||
$dagger: task: _name: "Mkdir"
|
||||
|
||||
input: #FS
|
||||
|
||||
// Path of the directory
|
||||
path: string
|
||||
// FIXME: permissions?
|
||||
mode: int
|
||||
// Create parent directories as needed?
|
||||
parents: *true | false
|
||||
|
||||
output: #FS
|
||||
}
|
||||
|
||||
// Copy files from one FS tree to another
|
||||
#Copy: {
|
||||
$dagger: task: _name: "Copy"
|
||||
|
Reference in New Issue
Block a user