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
v0.50.6
ROOT
/
go
/
store
/
prolly
/
tree
/
immutable_tree.go
Search
History
300 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
DefaultFixedChunkLength
ErrInvalidChunkSize
buildImmutableTree
(ctx context.Context, r io.Reader, ns NodeStore, S message.Serializer, chunkSize int)
:
(Node, error)
_newInternal
(ctx context.Context, ns NodeStore, s message.Serializer, nodes []novelNode, level int, chunkSize int)
:
(novelNode, error)
_newLeaf
(ctx context.Context, ns NodeStore, s message.Serializer, buf []byte)
:
(novelNode, error)
bytePeekLength
ByteArray
ImmutableTree
NewByteArray
(addr hash.Hash, ns NodeStore)
:
*ByteArray
JSONDoc
ImmutableTree
NewJSONDoc
(addr hash.Hash, ns NodeStore)
:
*JSONDoc
TextStorage
ImmutableTree
NewTextStorage
(addr hash.Hash, ns NodeStore)
:
*TextStorage
ImmutableTree
Addr
:
hash.Hash
buf
:
[]byte
ns
:
NodeStore
NewImmutableTreeFromReader
(ctx context.Context, r io.Reader, ns NodeStore, chunkSize int)
:
(*ImmutableTree, error)
*ByteArray
ToBytes
(ctx context.Context)
:
([]byte, error)
ToString
(ctx context.Context)
:
(string, error)
*JSONDoc
ToJSONDocument
(ctx context.Context)
:
(sql.JSONDocument, error)
ToString
(ctx context.Context)
:
(string, error)
*TextStorage
ToBytes
(ctx context.Context)
:
([]byte, error)
ToString
(ctx context.Context)
:
(string, error)
*ImmutableTree
load
(ctx context.Context)
:
error
bytes
(ctx context.Context)
:
([]byte, error)
next
()
:
(Node, error)
close
()
:
error
Read
(buf bytes.Buffer)
:
(int, error)
All occurrences
Please wait...
Page is in error, reload to recover