hasher

package
v0.127.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: AGPL-3.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

type DiffEntry struct {
	Type DiffEntryType
	Path string
}

type DiffEntryType

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

func (DiffEntryType) String

func (det DiffEntryType) String() string

type Hasher

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

func New

func New() *Hasher

func (*Hasher) AddFolder

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

func (*Hasher) DiffWithNewer

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

func (*Hasher) Len

func (hasher *Hasher) Len() int

func (*Hasher) SHA

func (hasher *Hasher) SHA() string

Jump to

Keyboard shortcuts

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