ServiceConfiguration
public struct ServiceConfiguration : Codable, Equatable
Undocumented
-
The name of the service that acts as a unique identifier for the service
Declaration
Swift
public var name: String -
The URL where the service is located
Declaration
Swift
public var url: URL -
The URL where the .git directory is located
Declaration
Swift
public var gitRootURL: URL -
The URL where the root of the swift package is located
Declaration
Swift
public var packageRootURL: URL? -
The remote origin URL for the git repository
Declaration
Swift
public var gitRemoteURL: URL -
The date when the service was cloned
Declaration
Swift
public var dateCloned: String -
A timestamp for the date the service was last updated
Declaration
Swift
public var lastUpdated: String -
The hash of the current git commit
Declaration
Swift
public var currentGitHash: String -
A status flag that indicates if the service should be included in global analysis
Declaration
Swift
public var status: Bool -
All files that belong to the service
Declaration
Swift
public var files: [File] -
The Package.swift file if it exists
Declaration
Swift
public var packageDotSwift: File? -
The swift version file if it exists
Declaration
Swift
public var swiftVersion: File? -
Undocumented
Declaration
Swift
public var graphSnapshots: [URL] -
The standard constructor for geneerating a new service
Declaration
Swift
public init(name: String, url: URL, gitURL: URL, currentGitHash: String, files: [File]) -
An extended constructor to generate merged services
Declaration
Swift
public init(name: String, url: URL, gitURL: URL, currentGitHash: String, files: [File], dateCloned: String, lastUpdated: String, graphSnapshots: [URL]) -
Declaration
Swift
public static func == (lhs: ServiceConfiguration, rhs: ServiceConfiguration) -> Bool -
The setter function for the dependency graph
Declaration
Swift
public mutating func addGraphSnapshot(url: URL)Parameters
graphThe dependency graph
ServiceConfiguration Structure Reference