cache

package
v2.0.0-alpha.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 9 Imported by: 6

Documentation

Index

Constants

View Source
const SwiftPackagesStateInvalid = "Could not resolve package dependencies:"

SwiftPackagesStateInvalid is the partial error message printed out if swift packages cache is invalid. Can be used to detect invalid state and clear the path returned by SwiftPackagesPath. xcodebuild: error: Could not resolve package dependencies:

The repository at [path] is invalid; try resetting package caches

Variables

This section is empty.

Functions

func CollectSwiftPackages

func CollectSwiftPackages(xcodeProjectPath string) error

CollectSwiftPackages ... Deprecated: CollectSwiftPackages is deprecated. Please use the SwiftPackageCache interface instead.

func SwiftPackagesPath

func SwiftPackagesPath(xcodeProjectPath string) (string, error)

SwiftPackagesPath ... Deprecated: SwiftPackagesPath is deprecated. Please use the SwiftPackageCache interface instead.

Types

type SwiftPackageCache

type SwiftPackageCache interface {
	SwiftPackagesPath(projectPth string) (string, error)
	CollectSwiftPackages(projectPath string) error
}

SwiftPackageCache ...

func NewSwiftPackageCache

func NewSwiftPackageCache() SwiftPackageCache

NewSwiftPackageCache ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL