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
30025a0d
ROOT
/
go
/
store
/
nbs
/
cmp_chunk_table_writer.go
Search
History
254 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
defaultTableSinkBlockSize
defaultChBufferSize
ErrNotFinished
ErrAlreadyFinished
ErrChunkAlreadyWritten
CmpChunkTableWriter
sink
:
*HashingByteSink
totalCompressedData
:
uint64
totalUncompressedData
:
uint64
prefixes
:
prefixIndexSlice
blockAddr
:
*addr
chunkHashes
:
nomshash.HashSet
path
:
string
NewCmpChunkTableWriter
(tempDir string)
:
(*CmpChunkTableWriter, error)
*CmpChunkTableWriter
ChunkCount
()
:
int
ContentLength
()
:
uint64
GetMD5
()
:
[]byte
AddCmpChunk
(c CompressedChunk)
:
error
Finish
()
:
(string, error)
FlushToFile
(path string)
:
error
Flush
(wr io.Writer)
:
error
Reader
()
:
(io.ReadCloser, error)
Remove
()
:
error
writeIndex
()
:
(hash.Hash, error)
writeFooter
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover