MCPcopy Create free account
hub / github.com/bep/s3deploy / enqueueUpload

Method enqueueUpload

lib/deployer.go:154–160  ·  view source on GitHub ↗
(ctx context.Context, f *osFile)

Source from the content-addressed store, hash-verified

152}
153
154func (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
162func (d *Deployer) skipFile(f *osFile) {
163 d.printf("%s skipping …\n", f.relPath)

Callers 1

planMethod · 0.95

Calls 1

PrintfMethod · 0.65

Tested by

no test coverage detected