singlefile

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessSingleFile

func ProcessSingleFile(
	ctx context.Context,
	virtualDir string,
	file parser.ParsedFile,
	par2Files []parser.ParsedFile,
	nzbPath string,
	metadataService *metadata.MetadataService,
	allowedFileExtensions []string,
	filterSamples bool,
	storeIndex map[string]int64,
	storeRef string,
) (string, string, error)

ProcessSingleFile processes a single file (creates and writes metadata). Returns (virtualDir, writtenMetaPath, error). writtenMetaPath is the virtual path of the metadata file written to disk; it is empty if no metadata was written.

Types

This section is empty.

Jump to

Keyboard shortcuts

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