MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / incompletePartsFromMap

Function incompletePartsFromMap

pkg/filestore/blockstore.go:437–445  ·  view source on GitHub ↗
(partMap map[int]int)

Source from the content-addressed store, hash-verified

435}
436
437func incompletePartsFromMap(partMap map[int]int) []int {
438 var incompleteParts []int
439 for partIdx, size := range partMap {
440 if size != int(partDataSize) {
441 incompleteParts = append(incompleteParts, partIdx)
442 }
443 }
444 return incompleteParts
445}
446
447func getPartIdxsFromMap(partMap map[int]int) []int {
448 var partIdxs []int

Callers 3

WriteAtMethod · 0.85
AppendDataMethod · 0.85
AppendIJsonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected