Back to / internal / test

package test

Latest Go to latest
Published: Mar 17, 2019 | License: Apache-2.0 | Module:



var Repository *git.Repository

Repository is a boilerplate sample repository (Hercules itself).

func FakeChangeForName

func FakeChangeForName(name string, hashFrom string, hashTo string) *object.Change

FakeChangeForName creates an artificial Git Change from a file name and two arbitrary hashes.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier