Skip to content

Commit

Permalink
sstable writer to accept a single rocks.EntryRecord arg (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
itaiad200 committed Nov 29, 2020
1 parent 4b28f2e commit b8bdcc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forest/sstable/sstable.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type WriteResult struct {
// Written entries must be sorted by path.
type Writer interface {
// WriteEntry appends the given entry to the SSTable
WriteEntry(path rocks.Path, entry rocks.Entry) error
WriteEntry(entry rocks.EntryRecord) error

// Close flushes all entries to the disk and returns the WriteResult.
Close() (*WriteResult, error)
Expand Down

0 comments on commit b8bdcc0

Please sign in to comment.