asset

package
v0.0.0-...-ec7abc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

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

func ComputeSource(spacePrefix base.Prefix, appSlug, version string) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL