(files []*FileInformation)
| 751 | } |
| 752 | |
| 753 | func (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 | |
| 764 | func (u *upstream) applyCreates(files []*FileInformation) (map[string]*FileInformation, error) { |
| 765 | files, err := u.filterChanges(files) |
no test coverage detected