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

Method String

clients/repo.go:40–40  ·  view source on GitHub ↗

String returns a string representation of the repository URI

()

Source from the content-addressed store, hash-verified

38 Host() string
39 // String returns a string representation of the repository URI
40 String() string
41 // IsValid returns whether the repository path on the forge is properly
42 // -formatted (GitHub), or that the repository exists (GitLab)
43 IsValid() error

Callers 15

TestPolicyReadFunction · 0.65
collectFetchPipeExecuteFunction · 0.65
getRedirectFileFunction · 0.65
nodeToStringFunction · 0.65
FormatActionlintErrorFunction · 0.65
GetOSesForJobFunction · 0.65
TestCsvWriterFunction · 0.65
RunMethod · 0.65
GenerateJSONSchemaFunction · 0.65
Test_GenerateBQSchemaFunction · 0.65
Test_GenerateJSONSchemaFunction · 0.65

Implementers 6

Repoclients/localdir/repo.go
MockRepoclients/mockclients/repo.go
MockRepoMockRecorderclients/mockclients/repo.go
Repoclients/githubrepo/repo.go
Repoclients/gitlabrepo/repo.go
Repoclients/azuredevopsrepo/repo.go

Calls

no outgoing calls

Tested by 15

TestPolicyReadFunction · 0.52
TestCsvWriterFunction · 0.52
Test_GenerateBQSchemaFunction · 0.52
Test_GenerateJSONSchemaFunction · 0.52
TestOptions_AddFlagsFunction · 0.52
Test_calcStatsFunction · 0.52
TestJSONFunction · 0.52