swift

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MulanPSL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name() string

func PkgType

func PkgType() model.PkgType

Types

type Collector

type Collector struct {
	collector.BaseCollector
}

func NewCollector

func NewCollector() *Collector

type PackageResolved

type PackageResolved struct {
	Object struct {
		Pins []struct {
			Package       string
			RepositoryURL string
			State         struct {
				Branch   string
				Revision string
				Version  string
			}
		}
	}
}

type PackageSwiftParser

type PackageSwiftParser struct{}

PackageSwiftParser is a parser for Package.swift see: https://www.swift.org/package-manager/

func NewPackageSwiftParser

func NewPackageSwiftParser() *PackageSwiftParser

NewPackageSwiftParser returns a new PackageSwiftParser

func (*PackageSwiftParser) Matcher

func (*PackageSwiftParser) Parse

func (p *PackageSwiftParser) Parse(path string) ([]model.Package, error)

Jump to

Keyboard shortcuts

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