Skip to content

Commit

Permalink
Use Soto v7.0.0 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Jul 18, 2024
1 parent 93a06e2 commit 237e7bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let package = Package(
.library(name: "SotoS3FileTransfer", targets: ["SotoS3FileTransfer"]),
],
dependencies: [
.package(url: "https://github.com/soto-project/soto.git", from: "7.0.0-beta.1"),
.package(url: "https://github.com/soto-project/soto.git", from: "7.0.0"),
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0")
],
Expand Down
6 changes: 3 additions & 3 deletions Sources/SotoS3FileTransfer/S3FileTransferManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public final class S3FileTransferManager: Sendable {
/// Logger
public let logger: Logger
/// Have we shutdown the Manager
internal let isShutdown = ManagedAtomic(false) // <Bool>.makeAtomic(value: false)
let isShutdown = ManagedAtomic(false) // <Bool>.makeAtomic(value: false)

/// Initialize S3 Transfer manager.
/// - Parameters:
Expand Down Expand Up @@ -555,14 +555,14 @@ public final class S3FileTransferManager: Sendable {
}

extension S3FileTransferManager {
struct FileDescriptor: Equatable {
struct FileDescriptor: Equatable, Sendable {
let name: String
let modificationDate: Date
let size: Int
}

/// A descriptor representing a file stored in an S3 bucket.
public struct S3FileDescriptor: Equatable {
public struct S3FileDescriptor: Equatable, Sendable {
/// The S3 file represented by this descriptor.
public let file: S3File
/// The date and time when the file was last modified.
Expand Down

0 comments on commit 237e7bf

Please sign in to comment.