go-cache-prune

command module
v0.0.0-...-402dff6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Unlicense Imports: 19 Imported by: ? 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.

README

go-cache-prune

A utility to prune unneeded files from Go's module and build caches. The motivation was using actions/cache to update existing Github Actions caches with only necessary files to reduce their size. go-cache-prune will listen for file access or create events for files in the Go caches, and keep track of what files were used. When go-cache-prune receives a SIGHUP signal, it will stop listening for file events and delete all files in both Go caches it didn't record as being used.

Signaling a running go-cache-prune process can easily be done with go-cache-prune -signal.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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