fakes

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CalculateInput

type CalculateInput struct {
	Sha1 string
	Err  error
}

type FakeSha1Calculator

type FakeSha1Calculator struct {
	// contains filtered or unexported fields
}

func NewFakeSha1Calculator

func NewFakeSha1Calculator() *FakeSha1Calculator

func (*FakeSha1Calculator) Calculate

func (c *FakeSha1Calculator) Calculate(path string) (string, error)

func (*FakeSha1Calculator) SetCalculateBehavior

func (c *FakeSha1Calculator) SetCalculateBehavior(calculateInputs map[string]CalculateInput)

Jump to

Keyboard shortcuts

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