mirror of
https://github.com/Ap0dexMe0/unixtract.git
synced 2026-07-16 05:04:22 +02:00
newreg: simplify getting file/dir and context
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ use crate::AppContext;
|
||||
pub struct Format {
|
||||
pub name: &'static str,
|
||||
pub detector_func: fn(&AppContext) -> Result<Option<Box<dyn Any>>, Box<dyn std::error::Error>>,
|
||||
pub extractor_func: fn(&AppContext, Option<Box<dyn Any>>) -> Result<(), Box<dyn std::error::Error>>,
|
||||
pub extractor_func: fn(&AppContext, Box<dyn Any>) -> Result<(), Box<dyn std::error::Error>>,
|
||||
}
|
||||
|
||||
pub mod mstar;
|
||||
|
||||
Reference in New Issue
Block a user