From 2e8244822c9efd25cbe735fad72175bc990354d3 Mon Sep 17 00:00:00 2001 From: Anton Tiurin Date: Wed, 17 Feb 2016 13:53:43 +0300 Subject: [PATCH] Fix description of StorageDriver.WriteStream Offset can be more than CurrentSize as long as this case is checked by DriverSuite.testContinueStreamAppend. Signed-off-by: Anton Tiurin --- docs/storage/driver/storagedriver.go | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/storage/driver/storagedriver.go b/docs/storage/driver/storagedriver.go index d5e6fe9f0..603020f13 100644 --- a/docs/storage/driver/storagedriver.go +++ b/docs/storage/driver/storagedriver.go @@ -57,7 +57,6 @@ type StorageDriver interface { // WriteStream stores the contents of the provided io.ReadCloser at a // location designated by the given path. // May be used to resume writing a stream by providing a nonzero offset. - // The offset must be no larger than the CurrentSize for this path. WriteStream(ctx context.Context, path string, offset int64, reader io.Reader) (nn int64, err error) // Stat retrieves the FileInfo for the given path, including the current