Show More
@@ -96,3 +96,18 b' class remotestore(basestore.basestore):' | |||
|
96 | 96 | def batch(self): |
|
97 | 97 | '''Support for remote batching.''' |
|
98 | 98 | return wireproto.remotebatch(self) |
|
99 | ||
|
100 | def _put(self, hash, fd): | |
|
101 | '''Put file with the given hash in the remote store.''' | |
|
102 | raise NotImplementedError('abstract method') | |
|
103 | ||
|
104 | def _get(self, hash): | |
|
105 | '''Get file with the given hash from the remote store.''' | |
|
106 | raise NotImplementedError('abstract method') | |
|
107 | ||
|
108 | def _stat(self, hashes): | |
|
109 | '''Get information about availability of files specified by | |
|
110 | hashes in the remote store. Return dictionary mapping hashes | |
|
111 | to return code where 0 means that file is available, other | |
|
112 | values if not.''' | |
|
113 | raise NotImplementedError('abstract method') |
General Comments 0
You need to be logged in to leave comments.
Login now