MCPcopy Create free account
hub / github.com/libgit2/pygit2 / Signature__encoding__get__

Function Signature__encoding__get__

src/signature.c:107–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105PyDoc_STRVAR(Signature__encoding__doc__, "Encoding.");
106
107PyObject *
108Signature__encoding__get__(Signature *self)
109{
110 const char *encoding = self->encoding;
111 if (encoding == NULL) {
112 encoding = "utf-8";
113 }
114
115 return to_encoding(encoding);
116}
117
118
119PyDoc_STRVAR(Signature_raw_name__doc__, "Name (bytes).");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…