Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶ added in v0.4.9
type Cache struct {
// contains filtered or unexported fields
}
Cache is used to mediate with the caching layer where all repositories for the various dependencies are kept. It relies on a locking mechanism to ensure safe access to the cache when things are executed concurrently or different instances of the tool run at the same time.
func (*Cache) GetRepository ¶ added in v0.4.9
func (c *Cache) GetRepository(dep *vending.Dependency) (*git.Repository, error)
GetRepository returns git.Repository from the cache.
Click to show internal directories.
Click to hide internal directories.