mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
add delete dict operations
This commit is contained in:
1 parent
fa5bfb56b0
commit
1e91f21ca4
8 files changed
+129
-44
No files matched your search
@@ -31,7 +31,7 @@ fn main() -> Result<(), anyhow::Error> {
|
||||
"{:?}",
|
||||
AppService::import_yomitan_zip_file(&mut writer, p, "ja")?,
|
||||
);
|
||||
println!("[{:.2?}]", start.elapsed(),);
|
||||
println!("[{:.2?}]", start.elapsed());
|
||||
} else {
|
||||
println!("not zip_file: {:?}", p);
|
||||
}
|
||||
+2
-1
@@ -10,7 +10,8 @@ fn main() -> Result<(), anyhow::Error> {
|
||||
let service = AppService::new(get_db_dir())?;
|
||||
|
||||
let start = Instant::now();
|
||||
service.get_yomitan_writer()?;
|
||||
let mut writer = service.get_yomitan_writer()?;
|
||||
AppService::remove_yomitan_dictionary(&mut writer, "JMnedict")?;
|
||||
println!("[{:.2?}]", start.elapsed());
|
||||
|
||||
Ok(())
|
||||
File renamed without changes.
Reference in new issue
Block a user