mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 09:17:49 +08:00
13 lines
264 B
Go
13 lines
264 B
Go
//go:build !windows
|
|
|
|
package filesync
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
"github.com/tonistiigi/fsutil"
|
|
)
|
|
|
|
func sendDiffCopy(stream Stream, fs fsutil.FS, progress progressCb) error {
|
|
return errors.WithStack(fsutil.Send(stream.Context(), stream, fs, progress))
|
|
}
|