utils

package
v0.0.0-...-17799e2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidRepoURI is returned when a repo has a URI we can't parse
	ErrInvalidRepoURI = errors.New("Invalid repo URI")
)

Functions

func RepoToPath

func RepoToPath(uri string) (string, error)

RepoToPath converts a repository name into a go-like import name, which will double as filesystem path

Types

type URIScheme

type URIScheme string

URIScheme is a uri scheme

Jump to

Keyboard shortcuts

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