#cache #input #command #gitignore #line #c-ache #fo-lder

app folca

A commanad line FOLder CAche

1 unstable release

0.1.0 May 28, 2021

#72 in #gitignore

MIT license

16KB
352 lines

Folca

FOLder CAche is a utility that caches the output folder/file of a command originating from an input folder/file.

If the command already ran on the exact same input in the past, the output will be retreived from the cache and not recomputed.

An example use-case would be a build server that builds several branches, some repeatedly.

Respects .gitignore in the input folder by default.

Usage

folca INPUT_PATH OUTPUT_PATH COMMAND COMMAND_ARG1 COMMAND_ARG2 ...

Installation

Downloading binaries

Folca is downloadable from the releases page.

Cargo

Run cargo install folca

Dependencies

~16–28MB
~435K SLoC