cache

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCacheName

func GetCacheName(imgpath string, subdivisions uint) string

Types

type Cache

type Cache struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(db *bitcask.Bitcask) *Cache

func (*Cache) LoadCache

func (c *Cache) LoadCache(cachename string) *imgdedup.ImageInfo

func (*Cache) StoreCache

func (c *Cache) StoreCache(cachename string, imginfo *imgdedup.ImageInfo) error

Jump to

Keyboard shortcuts

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