MCPcopy Index your code
hub / github.com/git-bug/git-bug / FillRepoWithSeed

Function FillRepoWithSeed

misc/random_bugs/create_random_bugs.go:37–42  ·  view source on GitHub ↗
(repo repository.ClockedRepo, bugNumber int, seed int64)

Source from the content-addressed store, hash-verified

35}
36
37func FillRepoWithSeed(repo repository.ClockedRepo, bugNumber int, seed int64) {
38 options := DefaultOptions()
39 options.BugNumber = bugNumber
40
41 CommitRandomBugsWithSeed(repo, options, seed)
42}
43
44func CommitRandomBugs(repo repository.ClockedRepo, opts Options) {
45 CommitRandomBugsWithSeed(repo, opts, time.Now().UnixNano())

Callers 4

TestReadBugsFunction · 0.92
benchmarkReadBugsFunction · 0.92
TestQueriesFunction · 0.92
FillRepoFunction · 0.85

Calls 2

DefaultOptionsFunction · 0.85
CommitRandomBugsWithSeedFunction · 0.85

Tested by 3

TestReadBugsFunction · 0.74
benchmarkReadBugsFunction · 0.74
TestQueriesFunction · 0.74