Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
Files map[string]*CachedFile `json:"files,omitempty"`
}
type CacheService ¶
type CacheService struct { Cache *Cache // contains filtered or unexported fields }
func InitCache ¶
func InitCache(filePath string) (*CacheService, error)
func (*CacheService) Save ¶
func (c *CacheService) Save() error
type CachedFile ¶
type CachedFile struct {
Hash string `json:"hash"`
}
Click to show internal directories.
Click to hide internal directories.