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

Function getLocalDevtoolsRef

repository/git.go:1082–1085  ·  view source on GitHub ↗
(remote, remoteDevtoolsRef string)

Source from the content-addressed store, hash-verified

1080}
1081
1082func getLocalDevtoolsRef(remote, remoteDevtoolsRef string) string {
1083 relativeRef := strings.TrimPrefix(remoteDevtoolsRef, remoteDevtoolsRefPrefix+remote+"/")
1084 return devtoolsRefPrefix + relativeRef
1085}
1086
1087// MergeArchives merges in the remote's state of the archives reference into
1088// the local repository's.

Callers 1

MergeArchivesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected