caches

package
v0.0.0-...-9ae89d9 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Filenames []string `json:"filenames"`
}

type Manager

type Manager struct {
	Root string
	// contains filtered or unexported fields
}

func NewManager

func NewManager(log logr.Logger, root string) *Manager

func (*Manager) Dir

func (c *Manager) Dir(book *books.Book) string

func (*Manager) Generate

func (c *Manager) Generate(bookPath string, book *books.Book) (err error)

func (*Manager) Get

func (c *Manager) Get(book *books.Book) (*Cache, error)

func (*Manager) IndexPath

func (c *Manager) IndexPath(book *books.Book) string

func (*Manager) Load

func (c *Manager) Load(book *books.Book) (cache *Cache, err error)

Jump to

Keyboard shortcuts

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