copy: support for include/exclude

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2022-03-31 18:13:49 -07:00
parent acc593f388
commit 57770d347f
3 changed files with 30 additions and 7 deletions

View File

@@ -76,6 +76,10 @@ import "dagger.io/dagger"
source: string | *"/"
// Destination path (optional)
dest: string | *"/"
// Optionally exclude certain files
include: [...string]
// Optionally include certain files
exclude: [...string]
// Output of the operation
output: dagger.#FS
}