Commit Graph

7 Commits

Author SHA1 Message Date
Adam Kaplan 766dabc238 Refactoring file locking out of tusd.Handler
* Updated filestore.FileStore implementation to use simple locking scheme. Refactored to make interface use pointers. Removed locks from tusd.Handler
* Refactored sample code to use pointer implementation of FileStore.
* Moved ErrFileLocked variable to datastore.go
2015-10-01 13:40:56 -04:00
Acconut 290fea5dac return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
Acconut 5772ec458f close io.Reader in tests 2015-02-28 16:12:33 +01:00
Acconut 1659517825 test inferface implentation for FileStore 2015-02-28 14:49:52 +01:00
Acconut 9f94d0591b add support for Termination extension 2015-02-28 14:47:39 +01:00
Acconut 0c16aedc29 use tusd.FileInfo in DataStore.NewUpload 2015-02-16 17:53:50 +01:00
Acconut 0f79383af2 add test for filestore 2015-02-12 16:06:15 +01:00