cocoapods

package
v0.7.24 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MPL-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckoutOptions

type CheckoutOptions struct {
	Git    string
	Commit string
	Tag    string
}

type Cocoapods

type Cocoapods struct {
	Bin string
}

func (*Cocoapods) Install

func (c *Cocoapods) Install(dir string) error

type ExternalSource

type ExternalSource struct {
	Git    string
	Branch string
	Tag    string

	Path string
}

type Lockfile

type Lockfile struct {
	Pods            []Spec
	Dependencies    []Requirement
	CheckoutOptions map[string]CheckoutOptions
	ExternalSources map[string]ExternalSource
	SpecRepos       map[string][]string
}

func FromLockfile

func FromLockfile(filename ...string) (Lockfile, error)

type RawLockfile

type RawLockfile struct {
	Pods            []interface{}                `yaml:"PODS"`         // Transitive dependencies (this is actually `[](map[string][]string | string)`)
	Dependencies    []string                     `yaml:"DEPENDENCIES"` // Direct dependencies
	CheckoutOptions map[string]map[string]string `yaml:"CHECKOUT OPTIONS"`
	ExternalSources map[string]map[string]string `yaml:"EXTERNAL SOURCES"`
	SpecRepos       map[string][]string          `yaml:"SPEC REPOS"`
}

type Requirement

type Requirement struct {
	Name       string
	Version    string
	Repository string
	Branch     string
	Tag        string

	Original string
}

func ParseRequirement

func ParseRequirement(req string) Requirement

func (*Requirement) String

func (r *Requirement) String() string

type Spec

type Spec struct {
	Name         string
	Version      string
	Dependencies []Requirement
}

Jump to

Keyboard shortcuts

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