task

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package task handles the scanning of directories for release proofs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(tempDir string) (
	th Task, tx Task, err error,
)

Run a scan for proofs in the provided temp directory.

Types

type Task

type Task struct {
	Name string // Name of file.
	Size int64  // Size of the file in bytes.
	Cont bool   // Continue, stops the scan for anymore similar file types.
}

Task for fetching both text and image proofs.

func Init

func Init() Task

Init initializes the task.

Jump to

Keyboard shortcuts

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