Function git2::opts::get_extensions

source ·
pub unsafe fn get_extensions() -> Result<StringArray, Error>
Expand description

Returns the list of git extensions that are supported. This is the list of built-in extensions supported by libgit2 and custom extensions that have been added with set_extensions. Extensions that have been negated will not be returned.

§Safety

libgit2 stores user extensions in a static variable. This function is effectively reading a static mut and should be treated as such