cache

package
v0.0.0-...-f59d61a Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

type Local struct {
	Dir string
}

func (Local) CheckWriteAccess

func (c Local) CheckWriteAccess(ctx context.Context) error

func (Local) Get

func (c Local) Get(_ context.Context, owner, repoName, commit, configHash string) ([]content.File, error)

func (Local) Put

func (c Local) Put(_ context.Context, owner, repoName, commit, configHash string, in []content.File) error

type Noop

type Noop struct{}

func (Noop) CheckWriteAccess

func (c Noop) CheckWriteAccess(_ context.Context) error

func (Noop) Get

func (c Noop) Get(_ context.Context, _, _, _, _ string) ([]content.File, error)

func (Noop) Put

func (c Noop) Put(_ context.Context, _, _, _, _ string, _ []content.File) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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