cas

package
v0.0.0-...-2887efe Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAS

type CAS interface {
	// Upload the given inputs to content-addressed storage and return the
	// resulting digest.
	Upload(ctx context.Context, root string, paths, excludes []string) (string, error)

	// Download the given entry from content-addressed storage.
	Download(ctx context.Context, root, digest string) error

	// Merge returns a new Entry which contains all of the given Entries.
	Merge(ctx context.Context, digests []string) (string, error)

	// Close cleans up resources used by the CAS instance.
	Close() error
}

CAS represents a content-addressed storage system.

Directories

Path Synopsis
rbe

Jump to

Keyboard shortcuts

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