giturl

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPath

func FromPath(path string) *url.URL

FromPath converts a filesystem path into a URL. If it's a relative path, then it returns a path-only URL.

func Parse

func Parse(urlstr string) (*url.URL, error)

Parse parses a Git remote URL, including the alternative SCP syntax. See git-fetch(1) for details.

Types

This section is empty.

Jump to

Keyboard shortcuts

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