gitStr

Converts the passed char slice to a C string, returning the null pointer for empty strings.

libgit2 generally only switches to the default for optional string parameters if they are null, vs. just the empty string.

const(char)*
gitStr
(
const(char)[] s
)

Meta