git

package
v0.0.2-gradle-executor Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

TODO consider checkout by some go-git library to limit external deps in docker container in time writing code "github.com/src-d/go-git" didn't have any filter options "github.com/go-git/go-git/v5" also

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkout added in v0.8.8

func Checkout(uri, branch, dir string) (outputDir string, err error)

Checkout will checkout directory from Git repository

func PartialCheckout

func PartialCheckout(uri, path, branch, dir string) (outputDir string, err error)

PartialCheckout will checkout only given directory from 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