Versions in this module Expand all Collapse all v0 v0.0.3 Jun 5, 2025 v0.0.2 May 24, 2025 Changes in this version + const DefaultTTL + type Cache interface + Clear func() + Close func() error + GetActionResults func(actionRef string) ([]types.DeepResult, bool) + GetWorkflow func(path string) (*types.WorkflowFile, bool) + SetActionResults func(actionRef string, results []types.DeepResult) + SetWorkflow func(path string, workflow *types.WorkflowFile) + type CacheOption func(*SQLiteCache) + func WithCachePath(path string) CacheOption + func WithTTL(ttl time.Duration) CacheOption + type SQLiteCache struct + func NewSQLiteCache(opts ...CacheOption) (*SQLiteCache, error) + func (c *SQLiteCache) Clear() + func (c *SQLiteCache) Close() error + func (c *SQLiteCache) GetActionResults(actionRef string) ([]types.DeepResult, bool) + func (c *SQLiteCache) GetFileContent(owner, repo, path, sha string) (string, int, bool) + func (c *SQLiteCache) GetWorkflow(path string) (*types.WorkflowFile, bool) + func (c *SQLiteCache) SetActionResults(actionRef string, results []types.DeepResult) + func (c *SQLiteCache) SetFileContent(owner, repo, path, sha string, content string, statusCode int) + func (c *SQLiteCache) SetWorkflow(path string, wf *types.WorkflowFile)