Add #Mkdir to engine fs definition

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau 2021-12-17 20:23:05 +01:00 committed by Vasek - Tom C
parent 7c46e62f49
commit 15fa9b0aac
No known key found for this signature in database
GPG Key ID: 175D82E572427960

View File

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