We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cccf05a commit 5212740Copy full SHA for 5212740
Sources/Hub/HubApi.swift
@@ -596,7 +596,7 @@ public extension HubApi {
596
return etag.trimmingPrefix("W/").trimmingCharacters(in: CharacterSet(charactersIn: "\""))
597
}
598
599
- internal func getFileMetadata(url: URL) async throws -> FileMetadata {
+ func getFileMetadata(url: URL) async throws -> FileMetadata {
600
let (_, response) = try await httpHead(for: url)
601
let location = response.statusCode == 302 ? response.value(forHTTPHeaderField: "Location") : response.url?.absoluteString
602
0 commit comments