Skip to main content

Module decide

Module decide 

Source
Expand description

The one place where “encrypt this or pass it through” is decided.

With the catch-all attribute the filter is handed every file in the repository, so pass-through has to be byte-identical for arbitrary input. A bug here corrupts the whole project, not just the secrets — which is why passthrough(x) == x is a property test rather than a nicety.

Structs§

Outcome
The result of filtering one file.

Functions§

clean
The check-in direction: working tree → object database.
smudge
The check-out direction: object database → working tree.