glone

package
v0.0.0-...-0f2e38d Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DealWithDir

func DealWithDir(link string, config Config) error

func DownloadIndividualFile

func DownloadIndividualFile(url string, fileName string, quiet bool) error

func DownloadSpecificFiles

func DownloadSpecificFiles(url string, filePaths []string, config Config) error

func DownloadTarball

func DownloadTarball(url string, config Config) error
func NormalizeLink(origLink string) string

func RunGlone

func RunGlone(config Config, specificFiles []string)

Types

type Config

type Config struct {
	Filter       []string
	Quiet        bool
	ExcludePath  bool
	OutputPrefix string
	Avoid        []string
	MatchesFiles []string
	Branch       string
	Path         string
	FileUrl      string
	Tar          bool
	GitHoster    gitHostingService
}

Jump to

Keyboard shortcuts

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