Documentation ¶
Overview ¶
Package timelock implements a time based cache for dependencies
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clear ¶
func Clear() (cleared bool)
Clear clears the cache, returns true if the cache was cleared
func IsStale ¶
func IsStale(d *dep.Dependency) (stale bool)
IsStale returns true if the cached dependency is older than timeoutHours
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.