moving some things back to package dagger

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-17 11:41:08 -07:00
parent 03a740ff1e
commit 140d753d9c
4 changed files with 9 additions and 5 deletions

View File

@@ -1,26 +0,0 @@
package engine
import (
"alpha.dagger.io/europa/dagger/engine/spec/engine"
)
// Select a subdirectory from a filesystem tree
#Subdir: {
// Input tree
input: #FS
// Path of the subdirectory
// Example: "/build"
path: string
// Subdirectory tree
output: #FS & _copy.output
_copy: engine.#Copy & {
"input": engine.#Scratch.output
source: {
root: input
"path": path
}
}
}