(ctx context.Context, f *osFile)
| 152 | } |
| 153 | |
| 154 | func (d *Deployer) enqueueUpload(ctx context.Context, f *osFile) { |
| 155 | d.Printf("%s (%s) %s ", f.keyPath, f.reason, up) |
| 156 | select { |
| 157 | case <-ctx.Done(): |
| 158 | case d.filesToUpload <- f: |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | func (d *Deployer) skipFile(f *osFile) { |
| 163 | d.printf("%s skipping …\n", f.relPath) |