MCPcopy Create free account
hub / github.com/libgit2/git2go / String

Method String

delta_string.go:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26var _Delta_index = [...]uint8{0, 10, 15, 22, 30, 37, 43, 50, 59, 69, 79, 89}
27
28func (i Delta) String() string {
29 if i < 0 || i >= Delta(len(_Delta_index)-1) {
30 return "Delta(" + strconv.FormatInt(int64(i), 10) + ")"
31 }
32 return _Delta_name[_Delta_index[i]:_Delta_index[i+1]]
33}

Callers

nothing calls this directly

Calls 1

DeltaTypeAlias · 0.85

Tested by

no test coverage detected