Documentation ¶
Index ¶
Constants ¶
View Source
const (
Size = 4
)
Variables ¶
This section is empty.
Functions ¶
func Find ¶
func Find(ctx context.Context, ir io.Reader, hashesToFind []uint32, size int) (map[uint32][]int64, error)
Find finds all the blocks of the given size within io.Reader that matches the hashes provided, and returns a hash -> slice of offsets within reader map, that produces the same weak hash.
Types ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.