sysutils/bkt 0.8.2_4 DragonFly
Subprocess caching utility
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- sysutils
- Package size
- 409.6 KiB, 1259.0 KiB installed
Description
bkt (pronounced bucket) is a subprocess caching utility written in Rust, inspired by bash-cache. Wrapping expensive process invocations with bkt allows callers to reuse recent invocations without complicating their application logic. This can be useful in shell prompts, interactive applications such as fzf, and long-running programs that poll other processes.
When bkt is passed a command it hasn't seen before (or recently) it executes the command synchronously and caches its stdout, stderr, and exit code. Calling bkt again with the same command reads the data from the cache and outputs it as if the command had been run again.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | sysutils/bkt | 0.8.2_4 |
| FreeBSD | sysutils/bkt | 0.8.2_19 |
| NetBSD | sysutils/bkt | 0.8.2 |
Install
Binary package:
pkg install bkt
From DPorts:
cd /usr/dports/sysutils/bkt && make install clean
Dependencies
No port depends on this one.