Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/ContainerLog/ServiceLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public struct ServiceLogger {
/// - Parameters:
/// - label: A unique identifier for the application.
/// - category: An identifier for the application subsystem.
/// - metadata: Metadata to include for all messsages. A message
/// - metadata: Metadata to include for all messages. A message
/// specific value for a duplicate key overrides these values.
/// - debug: Enable debug logging.
/// - logPath: If supplied, create log files under the named
Expand Down
2 changes: 1 addition & 1 deletion Sources/ContainerResource/Common/ResourceLabels.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ extension AppErrorCode {

/// System-defined keys for resource labels.
public struct ResourceLabelKeys {
/// Indicates a owner of a resource managed by a plugin.
/// Indicates an owner of a resource managed by a plugin.
public static let plugin = "com.apple.container.plugin"

/// Indicates a resource with a reserved or dedicated purpose.
Expand Down
2 changes: 1 addition & 1 deletion Sources/ContainerResource/Container/Filesystem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public struct Filesystem: Sendable, Codable {
}
}

/// Returns true if the Filesystem is backed by a in-memory mount type.
/// Returns true if the Filesystem is backed by an in-memory mount type.
public var isTmpfs: Bool {
switch type {
case .tmpfs: true
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/ContainerAPIService/Client/Archiver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public final class Archiver: Sendable {
defer { readBuffer.deallocate() }
try writer.writeHeader(entry: entry)
if entry.fileType == .regular {
// We need to write the data into the archive only if its a regular file
// We need to write the data into the archive only if it's a regular file
// Symlinks and directories require us to only write the archive header
guard let stream = InputStream(url: item) else {
throw Error.failedToCreateInputStream(item)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ extension ClientImage {
do {
let match = try await self.get(reference: reference, containerSystemConfig: containerSystemConfig)
if let platform {
// The image exists, but we dont know if we have the right platform pulled
// The image exists, but we don't know if we have the right platform pulled
// Check if we do, if not pull the requested platform
_ = try await match.config(for: platform)
}
Expand Down