Categorygithub.com/chainguard-dev/git-urls
modulepackage
1.0.2
Repository: https://github.com/chainguard-dev/git-urls.git
Documentation: pkg.go.dev

# README

git-urls

Docs: https://pkg.go.dev/github.com/chainguard-dev/git-urls?tab=overview

This repository is a fork of git-urls. The fork was created to fix an existing vulnerability GHSA-3f2q-6294-fmq5 in the upstream repository, which looked unmaintained.

Chainguard plans to keep maintaining this repository under our organization.

# Functions

NewTransportSet returns a TransportSet with the items keys mapped to empty struct values.
Parse parses rawurl into a URL structure.
ParseLocal parses rawurl into a URL object with a "file" scheme.
ParseScp parses rawurl into a URL object.
ParseTransport parses rawurl into a URL object.

# Variables

Transports is a set of known Git URL schemes.

# Structs

TransportSet represents a set of valid Git transport schemes.

# Type aliases

Parser converts a string into a URL.