task

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

func Run

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

Run a scan for proofs in the provided temp directory.

Jump to

Keyboard shortcuts

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