mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: github.com/moby/buildkit v0.13.0-rc2
full diff: https://github.com/moby/buildkit/compare/8e3fe35738c2...v0.13.0-rc2 Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
12
vendor/github.com/moby/buildkit/client/llb/fileop.go
generated
vendored
12
vendor/github.com/moby/buildkit/client/llb/fileop.go
generated
vendored
@ -398,6 +398,18 @@ func WithAllowWildcard(b bool) RmOption {
|
||||
})
|
||||
}
|
||||
|
||||
type excludeOnCopyAction struct {
|
||||
patterns []string
|
||||
}
|
||||
|
||||
func (e *excludeOnCopyAction) SetCopyOption(i *CopyInfo) {
|
||||
i.ExcludePatterns = append(i.ExcludePatterns, e.patterns...)
|
||||
}
|
||||
|
||||
func WithExcludePatterns(patterns []string) CopyOption {
|
||||
return &excludeOnCopyAction{patterns}
|
||||
}
|
||||
|
||||
type fileActionRm struct {
|
||||
file string
|
||||
info RmInfo
|
||||
|
Reference in New Issue
Block a user