gix_filter/worktree/mod.rs
1//! Worktree encodings are powered by the `encoding_rs` crate, which has a narrower focus than the `iconv` library. Thus this implementation
2//! is inherently more limited but will handle the common cases.
3//!
4//! Note that for encoding to legacy formats, [additional normalization steps](https://docs.rs/encoding_rs/0.8.32/encoding_rs/#preparing-text-for-the-encoders)
5//! can be taken, which we do not yet take unless there is specific examples or problems to solve.
6
7///
8pub mod encoding;
9
10///
11pub mod encode_to_git;
12pub use encode_to_git::function::encode_to_git;
13
14///
15pub mod encode_to_worktree;
16pub use encode_to_worktree::function::encode_to_worktree;