MCPcopy Create free account
hub / github.com/ejoffe/spr / NewGitHubRemoteSource

Function NewGitHubRemoteSource

config/config_parser/remote_source.go:17–22  ·  view source on GitHub ↗
(config *config.Config, gitcmd git.GitInterface)

Source from the content-addressed store, hash-verified

15}
16
17func NewGitHubRemoteSource(config *config.Config, gitcmd git.GitInterface) *remoteSource {
18 return &remoteSource{
19 gitcmd: gitcmd,
20 config: config,
21 }
22}
23
24func (s *remoteSource) Load(_ interface{}) {
25 var output string

Callers 2

ParseConfigFunction · 0.85
TestGitHubRemoteSourceFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGitHubRemoteSourceFunction · 0.68