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
2aa11235
ROOT
/
go
/
store
/
types
/
list_editor.go
Search
History
361 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ListEditor
l
:
List
edits
:
*listEdit
NewListEditor
(l List)
:
*ListEditor
newListLeafChunker
(ctx context.Context, cur *sequenceCursor, vrw ValueReadWriter)
:
(*sequenceChunker, error)
collapseListEdit
(newEdit, edit *listEdit)
:
bool
adjustIdx
(idx uint64, e *listEdit)
:
uint64
listEdit
idx
:
uint64
removed
:
uint64
inserted
:
[]Valuable
next
:
*listEdit
*ListEditor
Kind
()
:
NomsKind
Value
(ctx context.Context)
:
(Value, error)
List
(ctx context.Context)
:
(List, error)
Len
()
:
uint64
Splice
(idx uint64, deleteCount uint64, vs ...Valuable)
:
*ListEditor
Set
(idx uint64, v Valuable)
:
*ListEditor
Append
(vs ...Valuable)
:
*ListEditor
Insert
(idx uint64, vs ...Valuable)
:
*ListEditor
Remove
(start uint64, end uint64)
:
*ListEditor
RemoveAt
(idx uint64)
:
*ListEditor
Get
(ctx context.Context, idx uint64)
:
(Valuable, error)
All occurrences
Please wait...
Page is in error, reload to recover