hasher

package
v1.134.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiffEntry added in v1.14.0

type DiffEntry struct {
	Type DiffEntryType
	Path string
}

type DiffEntryType added in v1.14.0

type DiffEntryType int
const (
	Created DiffEntryType = iota
	Modified
	Deleted
)

func (DiffEntryType) String added in v1.14.0

func (det DiffEntryType) String() string

type Hasher added in v1.14.0

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

func New added in v1.14.0

func New() *Hasher

func (*Hasher) AddFolder added in v1.14.0

func (hasher *Hasher) AddFolder(baseFolder string, folderPath string) error

func (*Hasher) DiffWithNewer added in v1.14.0

func (hasher *Hasher) DiffWithNewer(newer *Hasher) []DiffEntry

func (*Hasher) Len added in v1.14.0

func (hasher *Hasher) Len() int

func (*Hasher) SHA added in v1.14.0

func (hasher *Hasher) SHA() string

Jump to

Keyboard shortcuts

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