swift

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package swift implements the Swift package registry protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

func (*Registry) Ecosystem

func (r *Registry) Ecosystem() string

func (*Registry) FetchDependencies

func (r *Registry) FetchDependencies(_ context.Context, _, _ string) ([]core.Dependency, error)

func (*Registry) FetchMaintainers

func (r *Registry) FetchMaintainers(_ context.Context, _ string) ([]core.Maintainer, error)

func (*Registry) FetchPackage

func (r *Registry) FetchPackage(ctx context.Context, name string) (*core.Package, error)

func (*Registry) FetchVersions

func (r *Registry) FetchVersions(ctx context.Context, name string) ([]core.Version, error)

func (*Registry) URLs

func (r *Registry) URLs() core.URLBuilder

type URLs

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

func (*URLs) Documentation

func (u *URLs) Documentation(_, _ string) string

func (*URLs) Download

func (u *URLs) Download(name, version string) string

func (*URLs) PURL

func (u *URLs) PURL(name, version string) string

func (*URLs) Registry

func (u *URLs) Registry(name, version string) string

Jump to

Keyboard shortcuts

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