Versions in this module Expand all Collapse all v1 v1.0.9 Jan 22, 2024 Changes in this version + const CacheExcludePathsEnvKey + const CacheIncludePathsEnvKey + const LevelAll + const LevelDeps + const LevelNone + type Cache struct + func New() Cache + func (cache *Cache) Commit() error + func (cache *Cache) ExcludePath(item ...string) + func (cache *Cache) IncludePath(item ...string) + type Config struct + VariableGetter VariableGetter + VariableSetters []VariableSetter + func (c Config) NewCache() Cache + type EnvmanVariableSetter struct + func (e EnvmanVariableSetter) Set(key, value string) error + type ItemCollector interface + Collect func(dir string, cacheLevel Level) ([]string, []string, error) + type Level string + type OSVariableGetter struct + func (e OSVariableGetter) Get(key string) (string, error) + type OSVariableSetter struct + func (e OSVariableSetter) Set(key, value string) error + type VariableGetter interface + Get func(key string) (string, error) + func NewOSVariableGetter() VariableGetter + type VariableSetter interface + Set func(key, value string) error + func NewEnvmanVariableSetter() VariableSetter + func NewOSVariableSetter() VariableSetter