Skip to main content

git_xcrypt/rules/
mod.rs

1//! What the user declared, and what it decides about one file.
2//!
3//! [`declaration`] parses `.git-xcrypt`; [`decide`] turns it into the one
4//! answer the filter needs — encrypt or pass through — and must stay a pure
5//! function of content and declaration, because `lock` depends on it producing
6//! exactly the bytes git stores. [`eol`] is the line-ending half of that
7//! answer, including the text/binary rule frozen with the file format.
8
9pub mod decide;
10pub mod declaration;
11pub mod eol;