String returns a stable string representation for use as a singleflight key.
()
| 35 | |
| 36 | // String returns a stable string representation for use as a singleflight key. |
| 37 | func (k imageKey) String() string { |
| 38 | return k.workingDir + "\x00" + k.image |
| 39 | } |
| 40 | |
| 41 | // getOrBuildImage returns a cached image ID or builds a new one. |
| 42 | // Concurrent calls for the same (workingDir, image) pair are deduplicated |
no outgoing calls
no test coverage detected