meta

package
v0.0.0-...-03f5639 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Filename string
	// contains filtered or unexported fields
}

func New

func New(path string) Metadata

func Parse

func Parse(header []byte) (Metadata, error)

METADATA parsing

func (*Metadata) Checksum

func (m *Metadata) Checksum() uint64

func (*Metadata) FormatDatetime

func (m *Metadata) FormatDatetime() string

func (*Metadata) GetDatetime

func (m *Metadata) GetDatetime() string

get datetime in users format

func (*Metadata) Hash

func (m *Metadata) Hash(bytes []byte) ([]bool, error)

func (*Metadata) IsOk

func (m *Metadata) IsOk() bool

func (*Metadata) Print

func (m *Metadata) Print() string

func (*Metadata) Validate

func (m *Metadata) Validate(buff []byte) (bool, error)

validate

Jump to

Keyboard shortcuts

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