20 releases (breaking)
new 0.15.0 | Nov 24, 2024 |
---|---|
0.13.0 | Aug 22, 2024 |
0.11.3 | Jul 23, 2024 |
0.11.0 | Mar 14, 2024 |
0.2.0 | Jul 22, 2023 |
#652 in Algorithms
342,859 downloads per month
Used in 45 crates
(7 directly)
600KB
12K
SLoC
A library for implementing everything needed to deal with git filter pipelines.
Generally, multiple filters are applied in a row forming a pipeline, with each filter being a stage in that pipeline. This pipeline is pre-determined with each stage being configurable.
The transformation on an input buffer goes in two ways: either a filter is applied, or its effects are undone. Differentiating between these states is important to avoid comparing unfiltered buffers with filtered ones, for example.
This crate implements the building blocks in terms of applying and undoing filters, along with logic to decide whether or not to apply such a filter.
Dependencies
~11–19MB
~319K SLoC