| 3 | use std::sync::Arc; |
| 4 | |
| 5 | pub trait ScriptModuleLoader { |
| 6 | fn normalize_path( |
| 7 | &self, |
| 8 | realm: &QuickJsRealmAdapter, |
| 9 | ref_path: &str, |
| 10 | path: &str, |
| 11 | ) -> Option<String>; |
| 12 | fn load_module(&self, realm: &QuickJsRealmAdapter, absolute_path: &str) -> String; |
| 13 | } |
| 14 | |
| 15 | pub trait CompiledModuleLoader { |
| 16 | fn normalize_path( |
nothing calls this directly
no outgoing calls
no test coverage detected