Index: environs/interface.go |
=== modified file 'environs/interface.go' |
--- environs/interface.go 2013-04-08 10:20:19 +0000 |
+++ environs/interface.go 2013-04-11 17:49:37 +0000 |
@@ -108,7 +108,9 @@ |
type StorageWriter interface { |
// Put reads from r and writes to the given storage file. |
// The length must give the total length of the file. |
- Put(name string, r io.Reader, length int64) error |
+ // The seek position of r must be set to the beginning of the |
+ // data. |
+ Put(name string, r io.ReadSeeker, length int64) error |
// Remove removes the given file from the environment's |
// storage. It should not return an error if the file does |