Skip to content

Commit

Permalink
Merge pull request #67 from michalbencur/feature/sendable-improvement
Browse files Browse the repository at this point in the history
Sendability fixes
  • Loading branch information
Joannis authored Jul 27, 2024
2 parents cf5c42e + 4b939ad commit d154591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Citadel/SFTP/SFTPFileFlags.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

// pflags
public struct SFTPOpenFileFlags: OptionSet, CustomDebugStringConvertible {
public struct SFTPOpenFileFlags: OptionSet, CustomDebugStringConvertible, Sendable {
public var rawValue: UInt32

public init(rawValue: UInt32) {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Citadel/SSHConnectionSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal struct _SSHReconnectMode {
internal static let never = _SSHReconnectMode(mode: .never)
}

public struct SSHReconnectMode: Equatable {
public struct SSHReconnectMode: Equatable, Sendable {
internal enum _Mode {
case once, always, never
}
Expand Down

0 comments on commit d154591

Please sign in to comment.