crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
e87a8262
ROOT
/
go
/
libraries
/
doltcore
/
merge
/
merge_test.go
Search
History
832 lines
|
ISO-8859-1
|
23 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
tableName
name
email
idTag
col1Tag
col2Tag
colColl
sch
indexSchema
:
schema.Index
compositeIndexSchema
:
schema.Index
init
()
rowV
col1
:
int
col2
:
int
value
()
:
val.Tuple
nomsValue
()
:
types.Value
vD
vB
syncPool
NoopAction
:
ActionType
InsertAction
UpdateAction
DeleteAction
ActionType
testRow
key
:
int
initialValue
:
*rowV
leftAction
:
ActionType
rightAction
:
ActionType
leftValue
:
*rowV
rightValue
:
*rowV
conflict
:
bool
expectedValue
:
*rowV
testRows
TestMergeCommits
(t *testing.T)
TestNomsMergeCommits
(t *testing.T)
sortTests
(t []testRow)
setupMergeTest
(t *testing.T)
:
(types.ValueReadWriter, tree.NodeStore, doltdb.Rootish, doltdb.Rootish, *doltdb.RootValue, *doltdb.RootValue, *doltdb.RootValue, durable.Index, prolly.ArtifactMap)
setupNomsMergeTest
(t *testing.T)
:
(types.ValueReadWriter, tree.NodeStore, doltdb.Rootish, doltdb.Rootish, *doltdb.RootValue, *doltdb.RootValue, *doltdb.RootValue, types.Map, types.Map, *MergeStats)
rebuildAllProllyIndexes
(ctx context.Context, tbl *doltdb.Table)
:
(*doltdb.Table, error)
calcExpectedStats
(t *testing.T)
:
*MergeStats
mustMakeEmptyRepo
(t *testing.T)
:
*doltdb.DoltDB
buildLeftRightAncCommitsAndBranches
(t *testing.T, ddb *doltdb.DoltDB, rootTbl, mergeTbl, ancTbl *doltdb.Table)
:
(doltdb.Rootish, doltdb.Rootish, *doltdb.RootValue, *doltdb.RootValue, *doltdb.RootValue)
kD
kB
key
(i int)
:
val.Tuple
nomsKey
(i int)
:
types.Value
unwrap
(v *rowV)
:
val.Tuple
unwrapNoms
(v *rowV)
:
types.Value
mustTuple
(tpl types.Tuple, err error)
:
types.Tuple
mustString
(str string, err error)
:
string
MustDebugFormatProlly
(t *testing.T, m prolly.Map)
:
string
MustEqualProlly
(t *testing.T, expected prolly.Map, actual prolly.Map)
MustEqualArtifactMap
(t *testing.T, expected prolly.ArtifactMap, actual prolly.ArtifactMap)
All occurrences
Please wait...
Page is in error, reload to recover