swift

package
v0.71.2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockFile

type LockFile struct {
	Object  Object `json:"object"`
	Pins    []Pin  `json:"pins"`
	Version int    `json:"version"`
}

type Object

type Object struct {
	Pins []Pin `json:"pins"`
}

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser is a parser for Package.resolved files

func NewParser

func NewParser() *Parser

func (*Parser) Parse

type Pin

type Pin struct {
	Package       string `json:"package"`
	RepositoryURL string `json:"repositoryURL"` // Package.revision v1
	Loc           string `json:"location"`      // Package.revision v2
	State         State  `json:"state"`
	xjson.Location
}

type State

type State struct {
	Branch   string `json:"branch"`
	Revision string `json:"revision"`
	Version  string `json:"version"`
}

Jump to

Keyboard shortcuts

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