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: 0

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