MCPcopy Index your code
hub / github.com/ChimeraCoder/gitgo / normalizePerms

Function normalizePerms

object.go:88–94  ·  view source on GitHub ↗
(perms string)

Source from the content-addressed store, hash-verified

86}
87
88func normalizePerms(perms string) string {
89 // TODO don't store permissions as a string
90 for len(perms) < 6 {
91 perms = "0" + perms
92 }
93 return perms
94}
95
96func parseObj(obj string) (result GitObject, err error) {
97

Callers 1

parseObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected