entity

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileDigest

type FileDigest struct {
	FileExtension string
	FileSize      int64
	FileFuzzyHash string
}

FileDigest contains properties of a file that makes the file unique to a very high degree of confidence

func (FileDigest) String

func (f FileDigest) String() string

type FileExtAndSize

type FileExtAndSize struct {
	FileExtension string
	FileSize      int64
}

FileExtAndSize is a struct of file extension and file size

func (FileExtAndSize) String

func (f FileExtAndSize) String() string

type FileMeta

type FileMeta struct {
	Size              int64
	ModifiedTimestamp int64
}

FileMeta is a combination of file size and its modification timestamp

func (FileMeta) String

func (f FileMeta) String() string

Jump to

Keyboard shortcuts

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