Skip to content

Commit 5212740

Browse files
Sendable Hub.Downloader, Hub.Hub and Hub.HubApi .5
1 parent cccf05a commit 5212740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Hub/HubApi.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ public extension HubApi {
596596
return etag.trimmingPrefix("W/").trimmingCharacters(in: CharacterSet(charactersIn: "\""))
597597
}
598598

599-
internal func getFileMetadata(url: URL) async throws -> FileMetadata {
599+
func getFileMetadata(url: URL) async throws -> FileMetadata {
600600
let (_, response) = try await httpHead(for: url)
601601
let location = response.statusCode == 302 ? response.value(forHTTPHeaderField: "Location") : response.url?.absoluteString
602602

0 commit comments

Comments
 (0)