MCPcopy
hub / github.com/ossf/scorecard / LocalPath

Method LocalPath

clients/repo_client.go:39–39  ·  view source on GitHub ↗

Returns an absolute path to the local repository in the format that matches the local OS

()

Source from the content-addressed store, hash-verified

37 // Returns an absolute path to the local repository
38 // in the format that matches the local OS
39 LocalPath() (string, error)
40 // GetFileReader returns an io.ReadCloser corresponding to the desired file.
41 // Callers should ensure to Close the Reader when finished.
42 GetFileReader(filename string) (io.ReadCloser, error)

Callers 7

TestVulnerabilitiesFunction · 0.65
TestVulnerabilitiesFunction · 0.65
VulnerabilitiesFunction · 0.65
TestRun_WithProbesFunction · 0.65
runScorecardFunction · 0.65
TestRunner_RunFunction · 0.65
TestAllClientMethodsFunction · 0.65

Implementers 8

Clientclients/localdir/client.go
Clientclients/git/client.go
MockRepoClientclients/mockclients/repo_client.go
MockRepoClientMockRecorderclients/mockclients/repo_client.go
clientclients/ossfuzz/client.go
Clientclients/githubrepo/client.go
Clientclients/gitlabrepo/client.go
Clientclients/azuredevopsrepo/client.go

Calls

no outgoing calls

Tested by 5

TestVulnerabilitiesFunction · 0.52
TestVulnerabilitiesFunction · 0.52
TestRun_WithProbesFunction · 0.52
TestRunner_RunFunction · 0.52
TestAllClientMethodsFunction · 0.52