Function git2::opts::get_mwindow_size

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

Get the maximum mmap window size

§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.