MCPcopy Create free account
hub / github.com/apache/devlake / TestFakeGitlabRepo

Struct TestFakeGitlabRepo

backend/helpers/pluginhelper/api/scope_helper_test.go:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43type TestFakeGitlabRepo struct {
44 common.Scope
45 GitlabId int `json:"gitlabId" mapstructure:"gitlabId" gorm:"primaryKey"`
46 CreatedDate *time.Time `json:"createdDate" mapstructure:"-"`
47 UpdatedDate *time.Time `json:"updatedDate" mapstructure:"-"`
48}
49
50func (t TestFakeGitlabRepo) ScopeId() string {
51 return fmt.Sprintf("%d", t.GitlabId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected