Documentation ¶
Index ¶
- type Store
- func (s *Store) AddLink(id string, link solver.CacheInfoLink, target string) error
- func (s *Store) AddResult(id string, res solver.CacheResult) error
- func (s *Store) Close() error
- func (s *Store) Exists(id string) bool
- func (s *Store) HasLink(id string, link solver.CacheInfoLink, target string) bool
- func (s *Store) Load(id string, resultID string) (solver.CacheResult, error)
- func (s *Store) Release(resultID string) error
- func (s *Store) Walk(fn func(id string) error) error
- func (s *Store) WalkBacklinks(id string, fn func(id string, link solver.CacheInfoLink) error) error
- func (s *Store) WalkIDsByResult(resultID string, fn func(string) error) error
- func (s *Store) WalkLinks(id string, link solver.CacheInfoLink, fn func(id string) error) error
- func (s *Store) WalkResults(id string, fn func(solver.CacheResult) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) WalkBacklinks ¶
func (*Store) WalkIDsByResult ¶
func (*Store) WalkResults ¶
Click to show internal directories.
Click to hide internal directories.