Documentation ¶
Index ¶
- func GetCheckedOutPool() interfaces.Pool[sku.CheckedOut, *sku.CheckedOut]
- func GetExternalPool() interfaces.Pool[sku.Transacted, *sku.Transacted]
- type Item
- func (i Item) GetDescription() (b descriptions.Description, err error)
- func (i *Item) GetExternalObjectId() sku.ExternalObjectId
- func (i *Item) GetGenre() interfaces.Genre
- func (i *Item) GetKey() string
- func (i *Item) GetObjectId() *ids.ObjectId
- func (i Item) GetTai() (t ids.Tai, err error)
- func (i *Item) GetType() (t ids.Type, err error)
- func (i Item) GetUrlPathTag() (e ids.Tag, err error)
- func (i *Item) ReadFromExternal(e *sku.Transacted) (err error)
- func (i *Item) String() string
- func (i *Item) WriteToExternal(e *sku.Transacted) (err error)
- type Store
- func (c *Store) CheckoutOne(options checkout_options.Options, tg sku.TransactedGetter) (cz sku.SkuType, err error)
- func (s *Store) DeleteCheckedOut(co *sku.CheckedOut) (err error)
- func (s *Store) Flush() (err error)
- func (fs *Store) GetExternalStoreLike() external_store.StoreLike
- func (s *Store) GetObjectIdsForString(v string) (k []sku.ExternalObjectId, err error)
- func (s *Store) Initialize(esi external_store.Supplies) (err error)
- func (c *Store) QueryCheckedOut(qg *query.Group, f interfaces.FuncIter[sku.SkuType]) (err error)
- func (s *Store) ReadAllExternalItems() error
- func (s *Store) SaveBlob(e sku.ExternalLike) (err error)
- func (s *Store) UpdateCheckoutFromCheckedOut(options checkout_options.OptionsWithoutMode, col sku.SkuType) (err error)
- func (s *Store) UpdateTransacted(sk *sku.Transacted) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCheckedOutPool ¶
func GetCheckedOutPool() interfaces.Pool[sku.CheckedOut, *sku.CheckedOut]
func GetExternalPool ¶
func GetExternalPool() interfaces.Pool[sku.Transacted, *sku.Transacted]
Types ¶
type Item ¶
type Item struct {
browser_items.Item
}
func (Item) GetDescription ¶
func (i Item) GetDescription() (b descriptions.Description, err error)
func (*Item) GetExternalObjectId ¶
func (i *Item) GetExternalObjectId() sku.ExternalObjectId
func (*Item) GetGenre ¶
func (i *Item) GetGenre() interfaces.Genre
func (*Item) GetObjectId ¶
func (Item) GetUrlPathTag ¶
TODO move below to !toml-bookmark type
func (*Item) ReadFromExternal ¶
func (i *Item) ReadFromExternal(e *sku.Transacted) (err error)
func (*Item) WriteToExternal ¶
func (i *Item) WriteToExternal(e *sku.Transacted) (err error)
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func Make ¶
func Make( k *config.Compiled, s dir_layout.DirLayout, itemDeletedStringFormatWriter interfaces.FuncIter[*sku.CheckedOut], ) *Store
func (*Store) CheckoutOne ¶
func (c *Store) CheckoutOne( options checkout_options.Options, tg sku.TransactedGetter, ) (cz sku.SkuType, err error)
func (*Store) DeleteCheckedOut ¶
func (s *Store) DeleteCheckedOut(co *sku.CheckedOut) (err error)
func (*Store) GetExternalStoreLike ¶
func (fs *Store) GetExternalStoreLike() external_store.StoreLike
func (*Store) GetObjectIdsForString ¶
func (s *Store) GetObjectIdsForString( v string, ) (k []sku.ExternalObjectId, err error)
func (*Store) Initialize ¶
func (s *Store) Initialize(esi external_store.Supplies) (err error)
func (*Store) QueryCheckedOut ¶
func (*Store) ReadAllExternalItems ¶
func (*Store) SaveBlob ¶
func (s *Store) SaveBlob(e sku.ExternalLike) (err error)
TODO support updating bookmarks without overwriting. Maybe move to toml-bookmark type
func (*Store) UpdateCheckoutFromCheckedOut ¶
func (s *Store) UpdateCheckoutFromCheckedOut( options checkout_options.OptionsWithoutMode, col sku.SkuType, ) (err error)
func (*Store) UpdateTransacted ¶
func (s *Store) UpdateTransacted(sk *sku.Transacted) (err error)
TODO decide how this should behave
Click to show internal directories.
Click to hide internal directories.