MCPcopy Create free account
hub / github.com/google/git-appraise / getRemoteDevtoolsRef

Function getRemoteDevtoolsRef

repository/git.go:1077–1080  ·  view source on GitHub ↗
(remote, devtoolsRefPattern string)

Source from the content-addressed store, hash-verified

1075}
1076
1077func getRemoteDevtoolsRef(remote, devtoolsRefPattern string) string {
1078 relativeRef := strings.TrimPrefix(devtoolsRefPattern, devtoolsRefPrefix)
1079 return remoteDevtoolsRefPrefix + remote + "/" + relativeRef
1080}
1081
1082func getLocalDevtoolsRef(remote, remoteDevtoolsRef string) string {
1083 relativeRef := strings.TrimPrefix(remoteDevtoolsRef, remoteDevtoolsRefPrefix+remote+"/")

Callers 2

MergeArchivesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected