Skip to content

Commit f5a3a05

Browse files
committed
make fmt
1 parent 72d7914 commit f5a3a05

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Sources/Helpers/RuntimeLinux/RuntimeLinuxHelper+Start.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ extension RuntimeLinuxHelper {
6969
}
7070

7171
nonisolated(unsafe) let anonymousConnection = xpc_connection_create(nil, nil)
72-
72+
7373
// Extract container ID from root path and construct metadata path
7474
let containerID = URL(fileURLWithPath: root).lastPathComponent
7575
let metadataPath = FileManager.default.temporaryDirectory
7676
.appendingPathComponent("bundle-metadata-\(containerID).json")
77-
77+
7878
let server = SandboxService(
7979
root: .init(fileURLWithPath: root),
8080
metadataPath: metadataPath,

Sources/Services/ContainerSandboxService/Server/SandboxService.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ public actor SandboxService {
104104
@Sendable
105105
public func bootstrap(_ message: XPCMessage) async throws -> XPCMessage {
106106
self.log.info("`bootstrap` xpc handler")
107-
107+
108108
// Create the bundle if it doesn't exist yet
109109
if !self.bundleExists(at: self.root) {
110110
try self.createBundle()
111111
}
112-
112+
113113
return try await self.lock.withLock { _ in
114114
guard await self.state == .created else {
115115
throw ContainerizationError(
@@ -1301,13 +1301,13 @@ extension SandboxService {
13011301
func setState(_ new: State) {
13021302
self.state = new
13031303
}
1304-
1304+
13051305
/// Check if a bundle exists at the given path
13061306
private func bundleExists(at path: URL) -> Bool {
13071307
guard FileManager.default.fileExists(atPath: path.path) else {
13081308
return false
13091309
}
1310-
1310+
13111311
let bundle = ContainerResource.Bundle(path: path)
13121312
do {
13131313
_ = try bundle.configuration
@@ -1316,13 +1316,13 @@ extension SandboxService {
13161316
return false
13171317
}
13181318
}
1319-
1319+
13201320
/// Create bundle from metadata
13211321
private func createBundle() throws {
13221322
guard let metadataPath = self.metadataPath else {
13231323
throw ContainerizationError(.internalError, message: "No metadata path provided for bundle creation")
13241324
}
1325-
1325+
13261326
do {
13271327
let metadata = try ContainerResource.Bundle.readMetadata(from: metadataPath)
13281328
_ = try ContainerResource.Bundle.createFromMetadata(metadata)

0 commit comments

Comments
 (0)