gitrepo

package standard library
go1.11beta1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package gitrepo provides a Git-based implementation of codehost.Repo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalRepo

func LocalRepo(remote, root string) (codehost.Repo, error)

LocalRepo is like Repo but accepts both Git remote references and paths to repositories on the local file system. The returned repo reports the given root as its module root.

func Repo

func Repo(remote, root string) (codehost.Repo, error)

Repo returns the code repository at the given Git remote reference. The returned repo reports the given root as its module root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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