Expand native PDF checksums over resolved input bytes
This commit is contained in:
1 parent
6d2a4921cf
commit
e113033b8a
10 files changed
+141
-7
No files matched your search
@@ -250,6 +250,15 @@ pub trait SourceProvider {
|
||||
) -> Result<Option<crate::resources::LoadedResource>, String> {
|
||||
Ok(None)
|
||||
}
|
||||
/// Read exact bytes through the normal TeX input policy. Missing inputs
|
||||
/// return None. Denied or unavailable host operations remain errors.
|
||||
fn optional_tex_input(
|
||||
&mut self,
|
||||
_name: &str,
|
||||
_from: &str,
|
||||
) -> Result<Option<crate::resources::LoadedResource>, String> {
|
||||
Err("host optional TeX binary input unavailable".into())
|
||||
}
|
||||
/// Look up the byte length of a real TeX input resource.
|
||||
fn file_size(&mut self, _name: &str, _from: &str) -> Result<Option<u64>, String> {
|
||||
Err("host file size lookup unavailable".into())
|
||||
|
||||
Reference in new issue
Block a user