mirror of
https://github.com/apple/container.git
synced 2026-11-05 21:43:24 +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:
1 parent
93076c9211
commit
a7799d02e3
1 file changed
+1
-1
@@ -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