Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use BlobInfoCache2 instead of types.BlobInfoCache in internal/types
This should not change behavior, but it changes the overhead: - Transports (like dockerImageDestination) now don't need to care about the old interface - ... it's now handled by internal/imagedestination/impl - whether the transport uses the cache or not. Overall, this should make the internal callers and internal implementations a bit simpler and faster, at the cost of moving the overhead to the compat infrastructure, and paying the cost for more external callers. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
- Loading branch information
Showing
4 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters