refactor: refactor code to separate fs into object-layer and fs layer. (#1305)

This commit is contained in:
Krishna Srinivas
2016-04-08 23:07:38 +05:30
committed by Harshavardhana
parent 188bb92d8a
commit 3c48537f20
35 changed files with 1463 additions and 2543 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ type StorageAPI interface {
DeleteVol(volume string) (err error)
// File operations.
ListFiles(volume, prefix, marker string, recursive bool, count int) (files []FileInfo, isEOF bool, err error)
ListFiles(volume, prefix, marker string, recursive bool, count int) (files []FileInfo, eof bool, err error)
ReadFile(volume string, path string, offset int64) (readCloser io.ReadCloser, err error)
CreateFile(volume string, path string) (writeCloser io.WriteCloser, err error)
StatFile(volume string, path string) (file FileInfo, err error)