Commit 928ad0b8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4dca8a8e
...@@ -495,7 +495,7 @@ func (dh *DataHeader) Load(r io.ReaderAt, pos int64) error { ...@@ -495,7 +495,7 @@ func (dh *DataHeader) Load(r io.ReaderAt, pos int64) error {
// - TODO describe how // - TODO describe how
// when there is no previous revision: io.EOF is returned // when there is no previous revision: io.EOF is returned
func (dh *DataHeader) LoadPrevRev(r io.ReaderAt /* *os.File */) error { func (dh *DataHeader) LoadPrevRev(r io.ReaderAt /* *os.File */) error {
if dh.PrevRevPos == 0 { // XXX -> -1 ? if dh.PrevRevPos == 0 {
return io.EOF // no more previous revisions return io.EOF // no more previous revisions
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment