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.
pub fn read_capped_file(
path: &Path,
max_bytes: u64,
symlink_policy: SymlinkPolicy,
) -> DocumentResult<String>Read UTF-8 from one regular-file handle under an explicit byte and symlink policy.