Home
last modified time | relevance | path

Searched refs:RepoTimestamp (Results 1 – 10 of 10) sorted by relevance

/development/tools/repo_diff/service/repodiff/repositories/
Dcommit_test.go46 var oldTimestamp ent.RepoTimestamp = 1519333790
48 …assert.True(t, ent.RepoTimestamp(timestamp) > oldTimestamp, "Insert timestamp should be greater th…
78 oldFakeTimestamp := ent.RepoTimestamp(1)
80 func() ent.RepoTimestamp { return oldFakeTimestamp },
83 newFakeTimestamp := ent.RepoTimestamp(2)
85 func() ent.RepoTimestamp { return newFakeTimestamp },
91 nullTimestamp := ent.RepoTimestamp(0)
100 nullTimestamp := ent.RepoTimestamp(0)
108 nullTimestamp := ent.RepoTimestamp(0)
110 commitToTimestamp["some_key"] = ent.RepoTimestamp(0)
[all …]
Dcommit.go25 …stSeenTimestamp(commitHashes []string, nullTimestamp e.RepoTimestamp) (map[string]e.RepoTimestamp,…
35 timestampGenerator func() e.RepoTimestamp
38 func (c Commit) WithTimestampGenerator(t func() e.RepoTimestamp) Commit {
152 …stSeenTimestamp(commitHashes []string, nullTimestamp e.RepoTimestamp) (map[string]e.RepoTimestamp,…
154 return map[string]e.RepoTimestamp{}, nil
156 commitToTimestamp := make(map[string]e.RepoTimestamp, len(commitHashes))
158 var timestampCursor e.RepoTimestamp
215 …unc mutateEmptyValues(existing map[string]e.RepoTimestamp, shouldExist []string, defaultValue e.Re… argument
Ddenormalizer_test.go15 const arbitraryTimestamp = e.RepoTimestamp(1525978906)
90 map[string]e.RepoTimestamp{
145 map[string]e.RepoTimestamp{
206 map[string]e.RepoTimestamp{
Dproject.go19 timestampGenerator func() e.RepoTimestamp
Ddenormalizer.go241 …Commits(commitRows []ent.AnalyzedCommitRow, commitToTimestamp map[string]ent.RepoTimestamp) error {
/development/tools/repo_diff/service/repodiff/utils/
Dtime.go10 func TimestampSeconds() ent.RepoTimestamp {
11 return ent.RepoTimestamp(t.Now().Unix())
14 func TimestampToDate(timestamp ent.RepoTimestamp) string { argument
20 func TimestampToDataStudioDatetime(timestamp ent.RepoTimestamp) string { argument
Dtime_test.go12 var oldTimestamp ent.RepoTimestamp = 1519322647
19 var timestamp ent.RepoTimestamp = 1519322647
24 var timestamp ent.RepoTimestamp = 1519322647
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go90 func commitRowToDenormalizedCols(commitRow e.AnalyzedCommitRow, firstSeen e.RepoTimestamp, rowIndex… argument
103 func diffRowToPersistCols(d e.AnalyzedDiffRow, uuidBytes string, timestamp e.RepoTimestamp, rowInde… argument
120 func commitRowToPersistCols(c e.AnalyzedCommitRow, uuidBytes string, timestamp e.RepoTimestamp, row… argument
133 func DiffRowsToPersistCols(diffRows []e.AnalyzedDiffRow, timestamp e.RepoTimestamp) [][]interface{}… argument
159 …Cols(commitRows []e.AnalyzedCommitRow, commitToTimestamp map[string]e.RepoTimestamp) [][]interface… argument
176 utils.TimestampToDataStudioDatetime(e.RepoTimestamp(diffRows[0].DBInsertTimestamp)),
213 func CommitRowsToPersistCols(commitRows []e.AnalyzedCommitRow, timestamp e.RepoTimestamp) [][]inter… argument
246 d.Date = utils.TimestampToDate(e.RepoTimestamp(d.DBInsertTimestamp))
254 var timestamp e.RepoTimestamp
/development/tools/repo_diff/service/repodiff/controllers/
Dcontract.go10 …eenTimestamp(commitHashes []string, nullTimestamp ent.RepoTimestamp) (map[string]ent.RepoTimestamp argument
/development/tools/repo_diff/service/repodiff/entities/
Dentities.go131 type RepoTimestamp int64 type