You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use std::future::Future;use std::path::{Path,PathBuf};use tokio::fs;use tokio::io::{self,AsyncReadExt,AsyncWriteExt};use tokio_stream::StreamExt;use tracing::trace;pubuse mapping_table::read_mapping_table;pubuse sequential::convert_dar_to_oar;#[derive(Debug,Default)]pubstructConvertOptions<'a,P:AsRef<Path>,I,F,Fut,T>whereF:FnMut(I) -> Fut,Fut:Future<Output = T> + Send + 'static,T:Send + 'static,{/// DAR source dir pathpubdar_dir:P,/// OAR destination dir path(If not, it is inferred from src)puboar_dir:Option<PathBuf>,/// mod name in config.json & directory name(If not, it is inferred from src)pubmod_name:Option<&'a str>,/// mod author in config.jsonpubauthor:Option<&'a str>,/// path to section name tablepubsection_table:Option<HashMap<String,String>>,/// path to section name table(For _1st_person)pubsection_1person_table:Option<HashMap<String,String>>,/// After converting to OAR, add mohidden to the DAR directory before conversion to treat it as a hidden directory. (for MO2 users)pubhide_dar:bool,pubasync_fn:AsyncClosure<I,F,Fut,T>,}
other
No response
The text was updated successfully, but these errors were encountered:
Expected behavior
I wanted to put the conversion option progress report function in a field, but I couldn't.
other
No response
The text was updated successfully, but these errors were encountered: