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