Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalculateInput ¶
type FakeSha1Calculator ¶
type FakeSha1Calculator struct { CalculateStringInputs map[string]string // contains filtered or unexported fields }
func NewFakeSha1Calculator ¶
func NewFakeSha1Calculator() *FakeSha1Calculator
func (*FakeSha1Calculator) Calculate ¶
func (c *FakeSha1Calculator) Calculate(path string) (string, error)
func (*FakeSha1Calculator) CalculateString ¶
func (c *FakeSha1Calculator) CalculateString(data string) string
func (*FakeSha1Calculator) SetCalculateBehavior ¶
func (c *FakeSha1Calculator) SetCalculateBehavior(calculateInputs map[string]CalculateInput)
Click to show internal directories.
Click to hide internal directories.