This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Solomon Hykes c1c585bcd5 Europa: integrate core packages, separate universe
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-15 09:27:58 +00:00

27 lines
397 B
CUE

package dagger
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
}
}
}