proof

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 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 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.
	// contains filtered or unexported fields
}

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