checksum

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Overview

Package checksum is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checksummer

type Checksummer interface {
	Checksum(path string) []byte
}

type MockChecksummer

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

MockChecksummer is a mock of Checksummer interface.

func NewMockChecksummer

func NewMockChecksummer(ctrl *gomock.Controller) *MockChecksummer

NewMockChecksummer creates a new mock instance.

func (*MockChecksummer) Checksum

func (m *MockChecksummer) Checksum(path string) []byte

Checksum mocks base method.

func (*MockChecksummer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockChecksummerMockRecorder

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

MockChecksummerMockRecorder is the mock recorder for MockChecksummer.

func (*MockChecksummerMockRecorder) Checksum

func (mr *MockChecksummerMockRecorder) Checksum(path interface{}) *gomock.Call

Checksum indicates an expected call of Checksum.

type SHA256

type SHA256 struct {
	Fs afero.Fs
	// contains filtered or unexported fields
}

func NewSHA256

func NewSHA256(fs afero.Fs) *SHA256

func (SHA256) Checksum

func (s SHA256) Checksum(path string) []byte

Jump to

Keyboard shortcuts

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