Function git2::opts::get_mwindow_mapped_limit
source · pub unsafe fn get_mwindow_mapped_limit() -> Result<size_t, Error>
Expand description
Get the maximum memory that will be mapped in total 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.