Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { MaxEntries int Logger *logger.Logger // contains filtered or unexported fields }
Cache is the deps cache.
func (*Cache) IsReady ¶
IsReady returns whether the cache is ready to be used. The cache will not be ready if its performing a long running operation, such as loading from file.
func (*Cache) LoadFromDir ¶
LoadFromDir loads the cache from a directory. Recommended to be called in a goroutine as runtime could be long depending on the size of the cache.
func (*Cache) WriteToDisk ¶
WriteToDisk writes the cache to disk in proto file format.
Click to show internal directories.
Click to hide internal directories.