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:
Arnav Reddy
2025-07-08 14:17:17 -07:00
committed by GitHub
parent 93076c9211
commit a7799d02e3
@@ -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]