Skip to main content

parse_file_with

Function parse_file_with 

Source
pub fn parse_file_with(
    path: impl AsRef<Path>,
    buffers: &mut Buffers,
) -> Result<Lockfile<'static>, FileError>
Expand description

parse_file reusing the storage in buffers: the span tables and, for files that are read rather than mapped, the read buffer.