From a7799d02e33130da9fc79e268172a16dcd012612 Mon Sep 17 00:00:00 2001 From: Arnav Reddy Date: Tue, 8 Jul 2025 14:17:17 -0700 Subject: [PATCH] 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 --- Sources/ContainerClient/SandboxSnapshot.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ContainerClient/SandboxSnapshot.swift b/Sources/ContainerClient/SandboxSnapshot.swift index ba8b9356..12978023 100644 --- a/Sources/ContainerClient/SandboxSnapshot.swift +++ b/Sources/ContainerClient/SandboxSnapshot.swift @@ -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]