pub fn read_regular(path: &Path, limit: u64) -> Result<Vec<u8>>Expand description
Reads bundle file path whole: a regular file (not a symlink, a device or a FIFO) of at most
limit bytes, so a directory bundle can’t make a reader follow a link to /dev/zero.