Function git2::opts::set_mwindow_file_limit
source · pub unsafe fn set_mwindow_file_limit(limit: size_t) -> Result<(), Error>
Expand description
Set the maximum number of files that can be mapped at any time by the library. The default (0) is unlimited.
§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.