Documentation ¶
Index ¶
- Constants
- type Impl
- func (p *Impl) Find(dir, pkgPath string) (f io.ReadCloser, err error)
- func (p *Impl) ListTimes() int
- func (p *Impl) Load(cacheFile string) (err error)
- func (p *Impl) Prepare(dir string, pkgPath ...string) (err error)
- func (p *Impl) Save(cacheFile string) (err error)
- func (p *Impl) SetTags(tags string)
- func (p *Impl) Tags() string
- type PkgHash
Constants ¶
View Source
const ( HashInvalid = "?" HashSkip = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
Impl represents a cache.
func (*Impl) Find ¶
func (p *Impl) Find(dir, pkgPath string) (f io.ReadCloser, err error)
Find finds the cache for a pkgPath.
Click to show internal directories.
Click to hide internal directories.