cache

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Path string
	// contains filtered or unexported fields
}

func NewStore

func NewStore(path string, caches models.Caches) *Store

func (*Store) Get

func (s *Store) Get(key string) *models.Cache

func (*Store) GetHashPath

func (s *Store) GetHashPath(key string, hash string) string

func (*Store) HasCachePath

func (s *Store) HasCachePath(key string) bool

func (*Store) HasHashPath

func (s *Store) HasHashPath(key string, hash string) bool

Jump to

Keyboard shortcuts

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