sumfile

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sum

type Sum struct {
	Mods map[Version][]string
}

func ParseSum

func ParseSum(data []byte, file string) (Sum, error)

func (*Sum) Add

func (sum *Sum) Add(ver Version, hash string)

func (*Sum) Write

func (sum *Sum) Write() (string, error)

func (*Sum) WriteCUE added in v0.6.8

func (sum *Sum) WriteCUE() ([]byte, error)

type Version

type Version struct {
	Path    string
	Version string
}

Jump to

Keyboard shortcuts

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