proof

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package proof handles files that have the section tagged as releaseproof.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Select added in v1.6.0

func Select(id string) string

func Total

func Total(s *stat.Proof, request Request) string

Total returns the sum of the records.

Types

type Request

type Request struct {
	Overwrite   bool   // Overwrite any existing proof assets such as images.
	AllProofs   bool   // AllProofs parses all proofs, not just new uploads.
	HideMissing bool   // HideMissing ignore proofs that are missing UUID download files.
	ByID        string // Id used for proofs, either a uuid or id string.
}

Request records classified with the "proof" filetype.

func (Request) Queries

func (request Request) Queries() error

Queries parses all proofs.

func (*Request) Query

func (request *Request) Query(id string) error

Query parses a single proof with the record id or uuid.

func (Request) Skip

func (request Request) Skip(values []sql.RawBytes) bool

Skip uses argument flags to check if a record is to be ignored.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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