Skip to main content

read_capped_file

Function read_capped_file 

Source
pub fn read_capped_file(
    path: &Path,
    max_bytes: u64,
    symlink_policy: SymlinkPolicy,
) -> DocumentResult<String>
Expand description

Read UTF-8 from one regular-file handle under an explicit byte and symlink policy.