Add #Mkdir to engine fs definition
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
This commit is contained in:
parent
7c46e62f49
commit
15fa9b0aac
@ -1,6 +1,23 @@
|
||||
package engine
|
||||
|
||||
// Read a file from a filesystem tree
|
||||
#Mkdir: {
|
||||
$dagger: task: _name: "Mkdir"
|
||||
|
||||
input: #FS
|
||||
|
||||
// Path of the directory
|
||||
path: string
|
||||
|
||||
// Permission to set
|
||||
mode: *0o755 | int
|
||||
|
||||
// Create parents' directory if they do not exist
|
||||
parents: *true | false
|
||||
|
||||
output: #FS
|
||||
}
|
||||
|
||||
#ReadFile: {
|
||||
$dagger: task: _name: "ReadFile"
|
||||
|
||||
|
Reference in New Issue
Block a user