git

package
v0.0.0-...-01630c2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(repoURL AuthenticatedURL, localPath string) error

Init creates a new mirrored repository in provided local path

func Update

func Update(repoURL AuthenticatedURL, localPath string) error

Update syncs the local mirror from the remote source

Types

type AuthenticatedURL

type AuthenticatedURL string

func GetAuthenticatedURL

func GetAuthenticatedURL(repoURL, user, password string) (AuthenticatedURL, error)

func (AuthenticatedURL) String

func (u AuthenticatedURL) String() string

Jump to

Keyboard shortcuts

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