seaweedfs/weed/filesys/page_writer/page_chunk.go
2022-01-22 03:50:18 -08:00

13 lines
202 B
Go

package page_writer
import (
"io"
)
type SaveToStorageFunc func(reader io.Reader, offset int64, size int64, cleanupFn func())
type MemChunk struct {
buf []byte
usage *ChunkWrittenIntervalList
}