mirror of
https://github.com/apple/container.git
synced 2026-09-20 22:55:40 +00:00
Mark SandboxSnapshot init as public for sandbox plugins (#309)
Changed `SandboxSnapshot` initializer from `package init()` to `public init()` to enable external package consumers to create and use `SandboxSnapshot` instances in their custom Sandbox plugins. The `SandboxSnapshot` is used for `container list` functionality
This commit is contained in:
@@ -25,7 +25,7 @@ public struct SandboxSnapshot: Codable, Sendable {
|
||||
/// Containers placed in the sandbox.
|
||||
public let containers: [ContainerSnapshot]
|
||||
|
||||
package init(
|
||||
public init(
|
||||
status: RuntimeStatus,
|
||||
networks: [Attachment],
|
||||
containers: [ContainerSnapshot]
|
||||
|
||||
Reference in New Issue
Block a user