git2::opts

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