rbd: add a doc comment for the Seek function

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-02-25 14:38:28 -05:00 committed by John Mulligan
parent c3e1a2d032
commit d71fb3b2ea
1 changed files with 1 additions and 0 deletions

View File

@ -781,6 +781,7 @@ func (image *Image) Write(data []byte) (n int, err error) {
return ret, err
}
// Seek updates the internal file position for the current image.
func (image *Image) Seek(offset int64, whence int) (int64, error) {
switch whence {
case SeekSet: