pub fn read_document(corpus: &CorpusRoot, path: &str) -> Result<String>Expand description
Read a whole file (bounded by max_file_bytes) as UTF-8 (lossy), resolving
the path through the corpus jail.
pub fn read_document(corpus: &CorpusRoot, path: &str) -> Result<String>Read a whole file (bounded by max_file_bytes) as UTF-8 (lossy), resolving
the path through the corpus jail.