icons

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureIconDownloaded added in v0.2.2

func EnsureIconDownloaded(paths p.Paths, iconUrl, packageName string) (string, error)

EnsureIconDownloaded downloads the icon at iconUrl to the icon file path for package packageName. If a file already exists at this path, the download is skipped. Returns the path to the icon.

func GetDownloadedIconPath added in v0.2.0

func GetDownloadedIconPath(paths p.Paths, packageName string) (string, error)

GetDownloadedIconPath checks if the package with name packageName has an icon downloaded. If so, it returns the path. Otherwise it returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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