Documentation ¶
Overview ¶
Package asset is used to persist icons and screenshots. Its store also deduplicates the file contents to avoid taking too much space in Swift for the same things, as icons and screenshots are often the same for many versions of an application.
Index ¶
Constants ¶
View Source
const AssetContainerName base.Prefix = "__assets__"
AssetContainerName is the name on the Swift container where asset contents are persisted.
Variables ¶
This section is empty.
Functions ¶
func ComputeSource ¶
ComputeSource returns the string key store in UsedBy field for app versions.
func NewStore ¶
func NewStore(client *kivik.Client) base.AssetStore
NewStore returns a store with the given client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.