mdReportSQL

package
v0.0.0-...-6c90f4e Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MdFormat

type MdFormat struct {
	// contains filtered or unexported fields
}

func Init

func Init(encodingFormat int, fileName string, filePath string, fileSize uint64, blockSize uint64, modulusSize uint64, fileHashListString string, blockHashListString string, outputfileName string, appendfile bool) (mdfmt *MdFormat)

Init returns a new sqlite3 db md file type this writes to the file and block signatures to the sqlite3 db file.

func (*MdFormat) OpenFile

func (md *MdFormat) OpenFile(append bool)

OpenFile create the db file handle

func (*MdFormat) PrintEntireFileList

func (md *MdFormat) PrintEntireFileList(format int)

PrintEntireFileList display all the files in the mdfilelist

func (*MdFormat) PrintFileList

func (md *MdFormat) PrintFileList(format int, fileid uint64)

PrintFileList Display the files list of md encode file hash signatures in the mdfilelist table

func (*MdFormat) PrintFormatType

func (md *MdFormat) PrintFormatType()

test inteface function

func (*MdFormat) PrintReport

func (md *MdFormat) PrintReport(format int, fileName string, fileid uint64)

PrintReport generates a formatted report from the sql file with a fileid identifier number

Jump to

Keyboard shortcuts

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