mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-09-16 22:10:42 +02:00
11 lines
284 B
Go
11 lines
284 B
Go
package filesys
|
|
|
|
type DirtyPages interface {
|
|
AddPage(offset int64, data []byte)
|
|
FlushData() error
|
|
ReadDirtyDataAt(data []byte, startOffset int64) (maxStop int64)
|
|
GetStorageOptions() (collection, replication string)
|
|
SetWriteOnly(writeOnly bool)
|
|
GetWriteOnly() (writeOnly bool)
|
|
}
|