control

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	Version     string
	MTime       string
	FileName    string
	Blocks      uint
	BlockSize   uint
	FileLength  int64
	HashLengths ControlHeaderHashLengths
	URL         string
	SHA1        string

	ChecksumIndex *index.ChecksumIndex
}

func ReadControl

func ReadControl(input io.Reader) (control *Control, err error)

type ControlHeaderHashLengths

type ControlHeaderHashLengths struct {
	ConsecutiveMatchNeeded uint
	WeakCheckSumBytes      uint
	StrongCheckSumBytes    uint
}

Jump to

Keyboard shortcuts

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