Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package internal provides utilities for HiDrive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelHash

type LevelHash interface {
	encoding.BinaryMarshaler
	encoding.BinaryUnmarshaler
	hash.Hash
	// Add takes a position-embedded checksum and adds it to the level.
	Add(sum []byte)
	// IsFull returns whether the number of checksums added to this level reached its capacity.
	IsFull() bool
}

LevelHash is an internal interface for level-hashes.

Jump to

Keyboard shortcuts

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