git

package
v0.0.0-...-7dc7b4a Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2016 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	*gitcmd.Repository
	// contains filtered or unexported fields
}

Repository is a git VCS repository.

func Clone

func Clone(url, dir string, opt vcs.CloneOpt) (*Repository, error)

func Open

func Open(dir string) (*Repository, error)

func (*Repository) FileSystem

func (r *Repository) FileSystem(at vcs.CommitID) (vfs.FileSystem, error)

FileSystem opens the repository file tree at a given commit ID.

func (*Repository) String

func (r *Repository) String() string

Jump to

Keyboard shortcuts

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