goisgiturl

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 1 Imported by: 0

README

go-isgiturl

It is what it says on the tin.


A URI validator for git urls.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindScpLikeComponents

func FindScpLikeComponents(url string) (user, host, port, path string)

FindScpLikeComponents returns the user, host, port and path of the given SCP-like URL.

func IsGitUrl

func IsGitUrl(url string) bool

IsGitUrl returns true if the given URL string specifies a git repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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