WorkspaceConfiguration
Workspace+Configuration.swift:743struct WorkspaceConfiguration
struct WorkspaceConfiguration
import Workspace
init(skipDependenciesUpdates: Bool, prefetchBasedOnResolvedFile: Bool, shouldCreateMultipleTestProducts: Bool, createREPLProduct: Bool, additionalFileRules: [FileRuleDescription], sharedDependenciesCacheEnabled: Bool, fingerprintCheckingMode: CheckingMode, signingEntityCheckingMode: CheckingMode, skipSignatureValidation: Bool, sourceControlToRegistryDependencyTransformation: SourceControlToRegistryDependencyTransformation, defaultRegistry: Registry?, manifestImportRestrictions: (startingToolsVersion: ToolsVersion, allowedImports: [String])?)
static var `default`: `Self` { get }
Default instance of WorkspaceConfiguration
var additionalFileRules: [FileRuleDescription]
File rules to determine resource handling behavior.
var createREPLProduct: Bool
Whether to create a product for use in the Swift REPL
var defaultRegistry: Registry?
URL of the implicitly configured, default registry
var fingerprintCheckingMode: CheckingMode
Fingerprint checking mode. Defaults to strict.
var manifestImportRestrictions: (startingToolsVersion: ToolsVersion, allowedImports: [String])?
Whether or not there should be import restrictions applied when loading manifests
var prefetchBasedOnResolvedFile: Bool
Enables the dependencies resolver prefetching based on the resolved versions file. Enabled by default. When disabled the resolver does not attempt to pre-fetch the dependencies based on the resolved versions file.
var sharedDependenciesCacheEnabled: Bool
Enables the shared dependencies cache. Enabled by default.
var shouldCreateMultipleTestProducts: Bool
Whether to create multiple test products or one per package
var signingEntityCheckingMode: CheckingMode
Signing entity checking mode. Defaults to warn.
var skipDependenciesUpdates: Bool
Enables the dependencies resolver automatic version updates. Disabled by default. When disabled the resolver does not attempt to update the dependencies as part of resolution.
var skipSignatureValidation: Bool
Whether to skip validating signature of signed packages downloaded from registry
var sourceControlToRegistryDependencyTransformation: SourceControlToRegistryDependencyTransformation
Attempt to transform source control based dependencies to registry ones
enum CheckingMode
enum SourceControlToRegistryDependencyTransformation