git2::opts

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