You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
284 B

4 years ago
4 years ago
4 years ago
  1. package filesys
  2. type DirtyPages interface {
  3. AddPage(offset int64, data []byte)
  4. FlushData() error
  5. ReadDirtyDataAt(data []byte, startOffset int64) (maxStop int64)
  6. GetStorageOptions() (collection, replication string)
  7. SetWriteOnly(writeOnly bool)
  8. GetWriteOnly() (writeOnly bool)
  9. }