You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: extract canMount to OCI, remove instanceof from CopyUtils, getBlobsMountPath takes ContainerRef, OCILayout.mountBlob throws on missing source
- Add abstract boolean canMount(OCI<?> other) to OCI<T>
- Registry.canMount: true when source is also a Registry
- OCILayout.canMount: true when source is also an OCILayout
- OCILayout.mountBlob now throws OrasException when source blob not found (void-like)
- ContainerRef.getBlobsMountPath now takes ContainerRef instead of String
- CopyUtils: add private canMount() helper delegating to OCI.canMount
- CopyUtils: tryMountBlob no longer references Registry/OCILayout/ContainerRef/LayoutRef
- Update OCILayout tests for new exception-based behavior
Co-authored-by: jonesbusy <[email protected]>
0 commit comments