MCPcopy Index your code
hub / github.com/devspace-sh/devspace / updateUploadChanges

Method updateUploadChanges

pkg/devspace/sync/upstream.go:753–762  ·  view source on GitHub ↗
(files []*FileInformation)

Source from the content-addressed store, hash-verified

751}
752
753func (u *upstream) updateUploadChanges(files []*FileInformation) []*FileInformation {
754 newChanges := make([]*FileInformation, 0, len(files))
755 for _, change := range files {
756 if shouldUpload(u.sync, change, u.sync.log) {
757 newChanges = append(newChanges, change)
758 }
759 }
760
761 return newChanges
762}
763
764func (u *upstream) applyCreates(files []*FileInformation) (map[string]*FileInformation, error) {
765 files, err := u.filterChanges(files)

Callers 1

applyChangesMethod · 0.95

Calls 1

shouldUploadFunction · 0.85

Tested by

no test coverage detected