mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
13 lines
202 B
Go
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
|
||
|
}
|