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.
Files
dagger/stdlib/europa/dagger/utils.cue
Solomon Hykes 7b7ee5455f Resolve spec merge conflicts
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-19 02:55:20 -08:00

27 lines
385 B
CUE

package dagger
import (
"alpha.dagger.io/europa/dagger/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
}
}
}