Europa: engine.#Mkdir
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
parent
e8843b918e
commit
4b2f0f9a1c
@ -132,6 +132,18 @@ _No input._
|
|||||||
|
|
||||||
_No output._
|
_No output._
|
||||||
|
|
||||||
|
## engine.#Mkdir
|
||||||
|
|
||||||
|
Create a directory
|
||||||
|
|
||||||
|
### engine.#Mkdir Inputs
|
||||||
|
|
||||||
|
_No input._
|
||||||
|
|
||||||
|
### engine.#Mkdir Outputs
|
||||||
|
|
||||||
|
_No output._
|
||||||
|
|
||||||
## engine.#Mount
|
## engine.#Mount
|
||||||
|
|
||||||
A transient filesystem mount.
|
A transient filesystem mount.
|
||||||
|
@ -31,6 +31,23 @@ package engine
|
|||||||
output: #FS
|
output: #FS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create a directory
|
||||||
|
#Mkdir: {
|
||||||
|
_mkdir: {}
|
||||||
|
|
||||||
|
input: #FS
|
||||||
|
|
||||||
|
// Path of the directory
|
||||||
|
path: string
|
||||||
|
// FIXME: this is not very dev friendly, as Cue does not support octal notation.
|
||||||
|
// What is a better option?
|
||||||
|
mode: int
|
||||||
|
// Create parent directories as needed?
|
||||||
|
parents: *true | false
|
||||||
|
|
||||||
|
output: #FS
|
||||||
|
}
|
||||||
|
|
||||||
#Copy: {
|
#Copy: {
|
||||||
_copy: {}
|
_copy: {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user