task

package
v1.11.13 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 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