Documentation
¶
Index ¶
- Constants
- type Store
- func (s *Store) AcquireRead(ctx context.Context, skill string) (func(), error)
- func (s *Store) AcquireWrite(ctx context.Context, skill string) (func(), error)
- func (s *Store) DeleteSwapTransaction(skill string) error
- func (s *Store) EnsureLayout() error
- func (s *Store) IsInstalled(skill string) (bool, error)
- func (s *Store) ListSkills() ([]string, error)
- func (s *Store) ListSwapTransactions() ([]SwapTransaction, error)
- func (s *Store) LoadSwapTransaction(skill string) (SwapTransaction, error)
- func (s *Store) Resolve(skill string) (string, error)
- func (s *Store) Root() string
- func (s *Store) SaveSwapTransaction(transaction SwapTransaction) error
- func (s *Store) SkillPath(skill string) (string, error)
- func (s *Store) SwapBackupPath(skill string) (string, error)
- func (s *Store) TempPath(prefix string) (string, error)
- type SwapTransaction
Constants ¶
View Source
const SwapTransactionSchemaVersion = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AcquireRead ¶ added in v0.9.0
func (*Store) AcquireWrite ¶ added in v0.9.0
func (*Store) DeleteSwapTransaction ¶ added in v0.9.0
func (*Store) EnsureLayout ¶
func (*Store) ListSkills ¶
func (*Store) ListSwapTransactions ¶ added in v0.9.0
func (s *Store) ListSwapTransactions() ([]SwapTransaction, error)
func (*Store) LoadSwapTransaction ¶ added in v0.9.0
func (s *Store) LoadSwapTransaction(skill string) (SwapTransaction, error)
func (*Store) SaveSwapTransaction ¶ added in v0.9.0
func (s *Store) SaveSwapTransaction(transaction SwapTransaction) error
func (*Store) SwapBackupPath ¶ added in v0.9.0
type SwapTransaction ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.