refactor
This commit is contained in:
8
weed/filesys/dirty_pages.go
Normal file
8
weed/filesys/dirty_pages.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package filesys
|
||||
|
||||
type DirtyPages interface {
|
||||
AddPage(offset int64, data []byte)
|
||||
FlushData() error
|
||||
ReadDirtyDataAt(data []byte, startOffset int64) (maxStop int64)
|
||||
GetStorageOptions() (collection, replication string)
|
||||
}
|
||||
Reference in New Issue
Block a user