cache

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cache provides a primitive cache mechanism for bundle layers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(filePathToAdd string) error

Add adds a file to the cache

func Exists

func Exists(layerDigest string) bool

Exists checks if a layer exists in the cache

func Use

func Use(layerDigest, dstDir string) error

Use copies a layer from the cache to the dst dir

Types

This section is empty.

Jump to

Keyboard shortcuts

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