fix: structure in createOCILayoutStructure (#93)

Both the callee and caller names have been corrected.
This commit is contained in:
Seyed Mojtaba Hosseini Zeidabadi
2025-06-11 14:51:15 -04:00
committed by GitHub
parent f245ae63b3
commit 27db60af22
2 changed files with 2 additions and 2 deletions
@@ -62,7 +62,7 @@ extension ImageStore {
client.setImageReferenceAnnotation(descriptor: &descriptor, reference: image.reference)
saved.append(descriptor)
}
try client.createOCILayoutStructre(directory: out, manifests: saved)
try client.createOCILayoutStructure(directory: out, manifests: saved)
}
/// Imports one or more images and their associated layers from an OCI Image Layout directory.
@@ -132,7 +132,7 @@ extension LocalOCILayoutClient {
return index
}
package func createOCILayoutStructre(directory: URL, manifests: [Descriptor]) throws {
package func createOCILayoutStructure(directory: URL, manifests: [Descriptor]) throws {
let fm = FileManager.default
let encoder = JSONEncoder()
encoder.outputFormatting = [.withoutEscapingSlashes]