dependency

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name    string             `yaml:"name"`
	Type    fetcher.SourceType `yaml:"type"`              // e.g., "git", "http", "google-well-known", "local", "protodex"
	Source  string             `yaml:"source"`            // e.g., repo URL, base URL, or local path
	Version string             `yaml:"version,omitempty"` // This can be a git tag, branch, protodex version, or URL version
	Path    string             `yaml:"path,omitempty"`
}

type Resolver

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

func NewResolver

func NewResolver() (*Resolver, error)

func (*Resolver) Clear

func (dc *Resolver) Clear() error

Clear cache

func (*Resolver) GetDependencyPath

func (dc *Resolver) GetDependencyPath() string

func (*Resolver) ListCached

func (dc *Resolver) ListCached() ([]string, error)

func (*Resolver) ResolveDependencies

func (dc *Resolver) ResolveDependencies(deps []Config) error

Jump to

Keyboard shortcuts

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