Adds README for the storagedriver package
This commit is contained in:
parent
0e5d41ff9b
commit
3e4738587f
2 changed files with 48 additions and 1 deletions
|
@ -25,7 +25,7 @@ type StorageDriver interface {
|
|||
// the given path
|
||||
// The driver will know it has received the full contents when it has read "size" bytes
|
||||
// May be used to resume writing a stream by providing a nonzero offset
|
||||
// The offset must be no larger than the number of bytes already written to this path
|
||||
// The offset must be no larger than the ResumeWritePosition for this path
|
||||
WriteStream(path string, offset, size uint64, readCloser io.ReadCloser) error
|
||||
|
||||
// ResumeWritePosition retrieves the byte offset at which it is safe to continue writing at the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue