Skip to content

Commit 1529ed7

Browse files
committed
fmt
1 parent a301d5e commit 1529ed7

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

Coder-Desktop/VPNLib/FileSync/FileSyncSession.swift

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -208,42 +208,42 @@ public enum FileSyncWorkingStatus {
208208
var name: String {
209209
switch self {
210210
case .connectingLocal:
211-
return "Connecting (local)"
211+
"Connecting (local)"
212212
case .connectingRemote:
213-
return "Connecting (remote)"
213+
"Connecting (remote)"
214214
case .scanning:
215-
return "Scanning"
215+
"Scanning"
216216
case .reconciling:
217-
return "Reconciling"
217+
"Reconciling"
218218
case .stagingLocal:
219-
return "Staging (local)"
219+
"Staging (local)"
220220
case .stagingRemote:
221-
return "Staging (remote)"
221+
"Staging (remote)"
222222
case .transitioning:
223-
return "Transitioning"
223+
"Transitioning"
224224
case .saving:
225-
return "Saving"
225+
"Saving"
226226
}
227227
}
228228

229229
var description: String {
230230
switch self {
231231
case .connectingLocal:
232-
return "The session is attempting to connect to the local endpoint."
232+
"The session is attempting to connect to the local endpoint."
233233
case .connectingRemote:
234-
return "The session is attempting to connect to the remote endpoint."
234+
"The session is attempting to connect to the remote endpoint."
235235
case .scanning:
236-
return "The session is scanning the filesystem on each endpoint."
236+
"The session is scanning the filesystem on each endpoint."
237237
case .reconciling:
238-
return "The session is performing reconciliation."
238+
"The session is performing reconciliation."
239239
case .stagingLocal:
240-
return "The session is staging files locally"
240+
"The session is staging files locally"
241241
case .stagingRemote:
242-
return "The session is staging files on the remote"
242+
"The session is staging files on the remote"
243243
case .transitioning:
244-
return "The session is performing transition operations on each endpoint."
244+
"The session is performing transition operations on each endpoint."
245245
case .saving:
246-
return "The session is recording synchronization history to disk."
246+
"The session is recording synchronization history to disk."
247247
}
248248
}
249249
}
@@ -258,30 +258,30 @@ public enum FileSyncErrorStatus {
258258
var name: String {
259259
switch self {
260260
case .disconnected:
261-
return "Disconnected"
261+
"Disconnected"
262262
case .haltedOnRootEmptied:
263-
return "Halted on root emptied"
263+
"Halted on root emptied"
264264
case .haltedOnRootDeletion:
265-
return "Halted on root deletion"
265+
"Halted on root deletion"
266266
case .haltedOnRootTypeChange:
267-
return "Halted on root type change"
267+
"Halted on root type change"
268268
case .waitingForRescan:
269-
return "Waiting for rescan"
269+
"Waiting for rescan"
270270
}
271271
}
272272

273273
var description: String {
274274
switch self {
275275
case .disconnected:
276-
return "The session is unpaused but not currently connected or connecting to either endpoint."
276+
"The session is unpaused but not currently connected or connecting to either endpoint."
277277
case .haltedOnRootEmptied:
278-
return "The session is halted due to the root emptying safety check."
278+
"The session is halted due to the root emptying safety check."
279279
case .haltedOnRootDeletion:
280-
return "The session is halted due to the root deletion safety check."
280+
"The session is halted due to the root deletion safety check."
281281
case .haltedOnRootTypeChange:
282-
return "The session is halted due to the root type change safety check."
282+
"The session is halted due to the root type change safety check."
283283
case .waitingForRescan:
284-
return "The session is waiting to retry scanning after an error during the previous scan."
284+
"The session is waiting to retry scanning after an error during the previous scan."
285285
}
286286
}
287287
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy