From 1e0b37a9a87bc103e1da7ad3d60b756c29d152c8 Mon Sep 17 00:00:00 2001 From: anirudt Date: Thu, 19 Nov 2015 19:48:26 +0530 Subject: [PATCH] Fixes typo in datastore.go fixes two occurences of the word interpreted in datastore.go --- datastore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datastore.go b/datastore.go index 2d2638a..8c335dc 100644 --- a/datastore.go +++ b/datastore.go @@ -34,13 +34,13 @@ type DataStore interface { // Write the chunk read from src into the file specified by the id at the // given offset. The handler will take care of validating the offset and // limiting the size of the src to not overflow the file's size. It may - // return an os.ErrNotExist which will be interpretet as a 404 Not Found. + // return an os.ErrNotExist which will be interpreted as a 404 Not Found. // It will also lock resources while they are written to ensure only one // write happens per time. // The function call must return the number of bytes written. WriteChunk(id string, offset int64, src io.Reader) (int64, error) // Read the fileinformation used to validate the offset and respond to HEAD - // requests. It may return an os.ErrNotExist which will be interpretet as a + // requests. It may return an os.ErrNotExist which will be interpreted as a // 404 Not Found. GetInfo(id string) (FileInfo, error) // Get an io.Reader to allow downloading the file. This feature is not