MCPcopy
hub / github.com/harness/harness / Split

Method Split

git/api/last_commit_cache.go:84–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func (c CommitEntryKey) Split() (
85 repoPath string,
86 commitSHA string,
87 path string,
88) {
89 parts := strings.Split(string(c), separatorZero)
90 if len(parts) != 3 {
91 return
92 }
93
94 repoPath = parts[0]
95 commitSHA = parts[1]
96 path = parts[2]
97
98 return
99}
100
101type commitValueCodec struct{}
102

Callers 15

GetImageNameMethod · 0.80
GetPyPIVersionFunction · 0.80
parseContentRangeFunction · 0.80
getEntriesFunction · 0.80
triggersFromStringFunction · 0.80
StringToArrByDelimiterFunction · 0.80
parseVersionFunction · 0.80
getSupportsListMethod · 0.80
createNodesMethod · 0.80
WalkFallbackFunction · 0.80

Calls

no outgoing calls

Tested by 2