Skip to content

Commit d34d36e

Browse files
committed
Remove errant definition of a URLResourceValue key
1 parent 1553cde commit d34d36e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

stdlib/public/SDK/Foundation/URL.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,6 @@
1212

1313
@_exported import Foundation // Clang module
1414

15-
/// Keys used in the result of `URLResourceValues.thumbnailDictionary`.
16-
@available(OSX 10.10, iOS 8.0, *)
17-
public struct URLThumbnailSizeKey : RawRepresentable, Hashable {
18-
public typealias RawValue = String
19-
20-
public init(rawValue: RawValue) { self.rawValue = rawValue }
21-
private(set) public var rawValue: RawValue
22-
23-
/// Key for a 1024 x 1024 thumbnail image.
24-
static public let none: URLThumbnailSizeKey = URLThumbnailSizeKey(rawValue: URLThumbnailDictionaryItem.NSThumbnail1024x1024SizeKey.rawValue)
25-
26-
public var hashValue: Int {
27-
return rawValue.hashValue
28-
}
29-
}
30-
3115
/**
3216
URLs to file system resources support the properties defined below. Note that not all property values will exist for all file system URLs. For example, if a file is located on a volume that does not support creation dates, it is valid to request the creation date property, but the returned value will be nil, and no error will be generated.
3317

0 commit comments

Comments
 (0)