Add mkdir docs

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
This commit is contained in:
Vasek - Tom C
2021-12-17 22:17:06 +01:00
parent d2580f4a73
commit e11cb1b6fd
9 changed files with 36 additions and 41 deletions

View File

@@ -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"