Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrMismatchModTime = errors.New("modTime mismatch") )
Functions ¶
Types ¶
type Cache ¶
type Cache struct { Depfile *DepfileCache GuessKinds *GuessKindsCache // contains filtered or unexported fields }
type DepfileCache ¶
type DepfileCache Cache
func (*DepfileCache) Path ¶
func (c *DepfileCache) Path(id string) string
func (*DepfileCache) Save ¶
func (c *DepfileCache) Save(id string) error
func (*DepfileCache) Validate ¶
func (c *DepfileCache) Validate(id string) error
IsValid returns true if the depfile cache is still valid.
type GuessKindsCache ¶
type GuessKindsCache Cache
Click to show internal directories.
Click to hide internal directories.