class Registries
s9WorkspaceAAC13ConfigurationC10RegistriesCWhat are these?
s9WorkspaceAAC13ConfigurationC10RegistriesC
FNV24: [77HSU]
struct Authorization
struct Mirrors
struct MirrorsStorage
init(fileSystem: FileSystem, localRegistriesFile: AbsolutePath?, sharedRegistriesFile: AbsolutePath?) throws
Initialize the workspace registries configuration
var configuration: RegistryConfiguration
The registry configuration
func updateLocal(with: (inout RegistryConfiguration) throws -> Void) throws -> RegistryConfiguration
func updateShared(with: (inout RegistryConfiguration) throws -> Void) throws -> RegistryConfiguration
import Workspace
final class Configuration
Manages a package workspace’s configuration.
class Workspace
A workspace represents the state of a working project directory.
var configuration: RegistryConfiguration { get }
@discardableResult func updateLocal(with handler: (inout RegistryConfiguration) throws -> Void) throws -> RegistryConfiguration
@discardableResult func updateShared(with handler: (inout RegistryConfiguration) throws -> Void) throws -> RegistryConfiguration