Function git2::opts::get_mwindow_file_limit

source ·
pub unsafe fn get_mwindow_file_limit() -> Result<size_t, Error>
Expand description

Get the maximum number of files that will be mapped at any time by the library.

§Safety

This function is reading a C global without synchronization, so it is not thread safe, and should only be called before any thread is spawned.