mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
Run swift-format
This commit is contained in:
committed by
github-actions[bot]
parent
7c6fb26700
commit
12280a2253
@@ -421,7 +421,8 @@ private struct URLLookup: Lookup {
|
||||
}
|
||||
}
|
||||
|
||||
private struct RawRepresentableLookup<Value: RawRepresentable & Sendable, Base: Lookup>: Lookup, Sendable
|
||||
private struct RawRepresentableLookup<Value: RawRepresentable & Sendable, Base: Lookup>: Lookup,
|
||||
Sendable
|
||||
where Value.RawValue == Base.Value {
|
||||
let base: Base
|
||||
func loadValue(
|
||||
|
||||
@@ -260,7 +260,8 @@ public struct FileStorage: Hashable, Sendable {
|
||||
let createDirectory: @Sendable (URL, Bool) throws -> Void
|
||||
let fileExists: @Sendable (URL) -> Bool
|
||||
let fileSystemSource:
|
||||
@Sendable (URL, DispatchSource.FileSystemEvent, @escaping @Sendable () -> Void) -> AnyCancellable
|
||||
@Sendable (URL, DispatchSource.FileSystemEvent, @escaping @Sendable () -> Void) ->
|
||||
AnyCancellable
|
||||
let load: @Sendable (URL) throws -> Data
|
||||
@_spi(Internals) public let save: @Sendable (Data, URL) throws -> Void
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ public struct SharedReader<Value: Sendable> {
|
||||
else { return nil }
|
||||
self.init(
|
||||
reference: base.reference,
|
||||
keyPath: base.keyPath.appending(path: \Value?.[default: DefaultSubscript(initialValue)])!
|
||||
keyPath: base.keyPath.appending(path: \Value?.[default:DefaultSubscript(initialValue)])!
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user