cache

package
v2.0.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(projectRoot string, cacheLevel cache.Level, cmdFactory command.Factory) error

Collect walks the directory tree underneath projectRoot and registers matching paths for caching based on the value of cacheLevel. Returns an error if there was an underlying error that would lead to a corrupted cache file, otherwise the given path is skipped.

func NewAndroidGradleCacheItemCollector

func NewAndroidGradleCacheItemCollector(cmdFactory command.Factory) cache.ItemCollector

NewAndroidGradleCacheItemCollector ...

Types

type AndroidGradleCacheItemCollector

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

AndroidGradleCacheItemCollector ...

func (AndroidGradleCacheItemCollector) Collect

func (c AndroidGradleCacheItemCollector) Collect(dir string, cacheLevel cache.Level) ([]string, []string, error)

Collect ...

Jump to

Keyboard shortcuts

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