ENUM
CocoapodsDependencies.Dependency
Contents
- Cases
cdn(name:requirement:source:)git(name:_:ref:)path(name:path:)gitRepo(name:requirement:source:)
- Properties
name
- Methods
<(_:_:)
swift
public enum Dependency: Codable, Hashable, ComparableCases
cdn(name:requirement:source:)
swift
case cdn(name: String, requirement: Requirement, source: String? = nil)Dependency from CDN repository.
- Parameters:
- name: Name of the pod
- requirement: Version requirment
- source: Repo name. If
nil, then searches the repositories in the order specified inrepos.
git(name:_:ref:)
swift
case git(name: String, _ source: String, ref: GitRef)Dependency from Git repository.
- Parameters:
- name: Name of the pod
- source: Url to git repository
- ref: Git reference (branch, tag or commit)
path(name:path:)
swift
case path(name: String, path: FilePath)Local Dependency.
- Parameters:
- name: Name of the pod
- path: Absolute or relative path to the pod
gitRepo(name:requirement:source:)
swift
case gitRepo(name: String, requirement: Requirement, source: String? = nil)Dependency from Git Specs repository.
- Parameters:
- name: Name of the pod
- requirement: Version requirment
- source: Repo name. If
nil, then searches the repositories in the order specified ingitRepos.
Properties
name
swift
public var name: StringMethods
<(_:_:)
swift
public static func < (lhs: Dependency, rhs: Dependency) -> BoolParameters
| Name | Description |
|---|---|
| lhs | A value to compare. |
| rhs | Another value to compare. |
