diff options
| author | jakka <jakkadoujin@gmail.com> | 2025-07-02 13:22:00 +0300 |
|---|---|---|
| committer | jakka <jakkadoujin@gmail.com> | 2025-07-02 13:22:00 +0300 |
| commit | 88019620faccc88edaa98c2d6b839d59e2af7317 (patch) | |
| tree | a223d42f2a4b63c848900af92a2cbd301258b207 /src/main.rs | |
| parent | 786d1139fcba3bfccd04416059c41d2743910899 (diff) | |
testing reencoding
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index 6db57a3..0e28b1f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -114,12 +114,13 @@ fn main() -> Result<()> { pool.install(|| files::index_files_recursively(realpath, &conn, hanlder))?; } - /* if args.get_flag("clean") { + /* if args.get_flag("clean") { pool.install(|| files::clean_files(&conn))?; - } + } */ if args.get_flag("doit") { - files::reencode_files(&conn)?; - } */ + let hanlder = running.clone(); + pool.install(|| files::reencode_files(&conn, hanlder))?; + } Ok::<(), anyhow::Error>(()) } |
