Merge pull request #1469 from noxiouz/fix_storage_interface_desc

Fix description of StorageDriver.WriteStream
This commit is contained in:
Brian Bland 2016-02-17 10:46:11 -08:00
commit 464d03cdd6

View file

@ -57,7 +57,6 @@ type StorageDriver interface {
// WriteStream stores the contents of the provided io.ReadCloser at a // WriteStream stores the contents of the provided io.ReadCloser at a
// location designated by the given path. // location designated by the given path.
// May be used to resume writing a stream by providing a nonzero offset. // 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) 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 // Stat retrieves the FileInfo for the given path, including the current