[go: up one dir, main page]

strict_object_creation

Function strict_object_creation 

Source
pub fn strict_object_creation(enabled: bool)
Expand description

Controls whether or not libgit2 will verify when writing an object that all objects it references are valid. Enabled by default, but disabling this can significantly improve performance, at the cost of potentially allowing the creation of objects that reference invalid objects (due to programming error or repository corruption).