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
1c3fcbe5
ROOT
/
go
/
store
/
diff
/
apply_patch.go
Search
History
410 lines
|
ISO-8859-1
|
11 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Apply
(ctx context.Context, nbf *types.NomsBinFormat, root types.Value, patch Patch)
:
(types.Value, error)
commonPrefixCount
(p1, p2 types.Path)
:
int
stackElem
path
:
types.Path
pathPart
:
types.PathPart
changeType
:
types.DiffChangeType
oldValue
:
types.Value
newValue
:
types.Value
newKeyValue
:
types.Value
newestValue
()
:
types.Value
patchStack
vals
:
[]stackElem
lastPath
:
types.Path
addCnt
:
int
rmCnt
:
int
*patchStack
updateNode
(ctx context.Context, top *stackElem, parent types.Value)
:
(types.Value, error)
push
(p types.Path, pp types.PathPart, changeType types.DiffChangeType, oldValue, newValue, newKeyValue types.Value)
top
()
:
*stackElem
pop
(ctx context.Context)
:
(stackElem, error)
Len
()
:
int
adjustIndexOffset
(p types.Path, changeType types.DiffChangeType)
:
(res int)
All occurrences
Please wait...
Page is in error, reload to recover