Function git2::opts::set_mwindow_mapped_limit

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

Set the maximum amount of memory that can be mapped at any time by the library.

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