drop clientside hooks wrappers for authenticated GET_FILE_SIZE

This commit is contained in:
ansuz 2020-01-24 12:42:31 -05:00
parent 6b5118cdc3
commit 4fd68b672e
1 changed files with 0 additions and 12 deletions

View File

@ -89,18 +89,6 @@ var factory = function (Util, Rpc) {
});
};
// get the total stored size of a channel's patches (in bytes)
exp.getFileSize = function (file, cb) {
rpc.send('GET_FILE_SIZE', file, function (e, response) {
if (e) { return void cb(e); }
if (response && response.length && typeof(response[0]) === 'number') {
return void cb(void 0, response[0]);
} else {
cb('INVALID_RESPONSE');
}
});
};
// get the combined size of all channels (in bytes) for all the
// channels which the server has pinned for your publicKey
exp.getFileListSize = function (cb) {