mirror of https://github.com/ceph/go-ceph
rbd: add a doc comment for the Seek function
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
c3e1a2d032
commit
d71fb3b2ea
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue