prefetch

command
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command prefetch downloads into the user's cache what this repository's tests otherwise download there while they run: the native libraries that the plugins name in their golet-plugin.json, for this platform, and on Windows the NSIS that golet build uses. CI runs it before `go test` and keeps what it downloads in the Actions cache, under a key of the files that pin them, so that the tests do not depend on the network:

go run ./backend/internal/prefetch

It downloads them where the plugins and the CLI look: <cache>/golet/natives/<sha256>/<name> and <cache>/golet/nsis-<version>.

Jump to

Keyboard shortcuts

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