utils

package module
v0.0.0-...-14e3a86 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EXIFTOOL *exiftool.Exiftool

Functions

func CheckFileExists

func CheckFileExists(path string) bool

func CheckIsPDF

func CheckIsPDF(path string) bool

func CheckMimeType

func CheckMimeType(path string) (string, error)

func ConvertExiftoolDate

func ConvertExiftoolDate(dateString string) (time.Time, error)

func EnsurePathExists

func EnsurePathExists(path string) error

func GetFileSize

func GetFileSize(filepath string) (int64, error)

func GetPDFMetadata

func GetPDFMetadata(path string) (exiftool.FileMetadata, error)

func InitiateExiftool

func InitiateExiftool() error

func SHA1HashForFile

func SHA1HashForFile(path string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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