cmmt

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Filename = `_zipcomment.txt`
	SceneOrg = `scene.org`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Zipfile

type Zipfile struct {
	ID        uint           // MySQL auto increment Id.
	UUID      string         // Unique Id.
	Name      string         // Filename.
	Ext       string         // File extension.
	Size      int            // Size of the size in bytes.
	Magic     sql.NullString // Magic or MIME type of the file.
	ASCII     bool           // ASCII zip comment used?
	Unicode   bool           // Unicode zip comment used?
	Overwrite bool           // Overwrite a preexisting zip comment?
}

Zipfile structure for files archived or compressed with a ZIP format.

func (*Zipfile) CheckCmmtFile

func (z *Zipfile) CheckCmmtFile(path string) (ok bool)

func (*Zipfile) CheckDownload

func (z *Zipfile) CheckDownload(path string) (ok bool)

func (*Zipfile) Print

func (z *Zipfile) Print(cmmt *string) string

func (*Zipfile) Save

func (z *Zipfile) Save(path string) error

Jump to

Keyboard shortcuts

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