File
final class File
-
Undocumented
Declaration
Swift
var name: String { get }
-
A path to this file that can be used in SourceKit requests.
Returns the file’s path, if it has one. Otherwise, returns a unique filename.
Warning
The value returned will not be consistent for content-onlyFile
s (i.e. a new value is generated each call).Declaration
Swift
var sourceKitPath: String { get }
-
Declaration
Swift
public convenience init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws