RSDFileManifest

public struct RSDFileManifest : Codable, Hashable, Equatable

A manifest for a given file that includes the filename, content type, and creation timestamp.

  • The filename of the archive object. This should be unique within the manifest. It may include a relative path that points to a subdirectory.

    Declaration

    Swift

    public let filename: String
  • The file creation date.

    Declaration

    Swift

    public let timestamp: Date
  • The content type of the file.

    Declaration

    Swift

    public let contentType: String?
  • The identifier for the result. This value may not be unique if a step is run more than once during a task at different stages.

    Declaration

    Swift

    public let identifier: String?
  • The full path to the result if it is within the step history.

    Declaration

    Swift

    public let stepPath: String?
  • Default initializer.

    Declaration

    Swift

    public init(filename: String, timestamp: Date, contentType: String?, identifier: String? = nil, stepPath: String? = nil)
  • A hash for the manifest.

    Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • The file manifest files are equal if the filename, timestamp, and contentType are the same.

    Declaration

    Swift

    public static func == (lhs: RSDFileManifest, rhs: RSDFileManifest) -> Bool