whiteout/transform/
mod.rs

1pub mod clean;
2pub mod smudge;
3
4use anyhow::Result;
5use std::path::Path;
6
7use crate::{config::Config, storage::LocalStorage};
8
9pub fn clean(
10    content: &str,
11    file_path: &Path,
12    storage: &LocalStorage,
13    config: &Config,
14) -> Result<String> {
15    clean::apply(content, file_path, storage, config)
16}
17
18pub fn smudge(
19    content: &str,
20    file_path: &Path,
21    storage: &LocalStorage,
22    config: &Config,
23) -> Result<String> {
24    smudge::apply(content, file_path, storage, config)
25}