appparser

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileExtension

func GetFileExtension(fp string) string

func GetFileSignature

func GetFileSignature(f *os.File, fp string) ([]byte, error)

func GetOutputPath

func GetOutputPath(dirc string, fp string) string

func IsValidFileSignature

func IsValidFileSignature(sig []byte) (bool, error)

Types

type ActionInfo

type ActionInfo struct {
	Directive, InputFilename, InputPath, OutputFilename, OutputPath, Password string
}

func CliParser

func CliParser(args []string) (ActionInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳