File
public struct File : Explorable
Undocumented
-
Undocumented
Declaration
Swift
public let name: String -
File content in String, for now, only support file that’re not need any spesial encoding, so for example , png file will have empty content.
Declaration
Swift
public let content: String? -
File extension
Declaration
Swift
public let `extension`: String? -
Undocumented
Declaration
Swift
public let attributes: [FileAttributeKey : Any]? -
Undocumented
Declaration
Swift
public init(name: String, content: String?, extension: String?, attributes: [FileAttributeKey : Any]? = nil)
File Structure Reference