basic

package
v0.0.0-...-de93bbd Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicProcessing

func BasicProcessing(job sqlc.ProcessingJob) error

BasicProcessing() determines type agnostic information about the file

func DiecScan

func DiecScan(fileName string) ([]byte, error)

DiecScan() runs diec -jdu on the file

Types

type FileCmdResult

type FileCmdResult struct {
	Type      string
	MimeType  string
	Apple     string
	Extension string
}

func FileCmd

func FileCmd(fileName string) (FileCmdResult, error)

FileCmd() runs "/usr/bin/file" on the object. Should be replaced with libmagic bindings instead

Jump to

Keyboard shortcuts

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