cache

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalCache diskCache

Functions

func NewCache

func NewCache(file string) diskCache

func NewCacheValue

func NewCacheValue(
	_ *starlark.Thread,
	fn *starlark.Builtin,
	args starlark.Tuple,
	kwargs []starlark.Tuple,
) (starlark.Value, error)

func SetCache

func SetCache(file string)

Types

type Cache

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

func (Cache) Attr

func (c Cache) Attr(name string) (starlark.Value, error)

func (Cache) AttrNames

func (c Cache) AttrNames() []string

func (Cache) Freeze

func (c Cache) Freeze()

func (Cache) Hash

func (c Cache) Hash() (uint32, error)

func (Cache) String

func (c Cache) String() string

func (Cache) Truth

func (c Cache) Truth() starlark.Bool

func (Cache) Type

func (c Cache) Type() string

Jump to

Keyboard shortcuts

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