Function git2::opts::set_mwindow_size

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

Set the maximum mmap window size

§Safety

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