Remove backup download code

This commit is contained in:
Johannes Zellner
2017-04-22 22:17:29 +02:00
parent 8c011ea9b0
commit a7d7935451
8 changed files with 2 additions and 198 deletions

View File

@@ -12,8 +12,6 @@ exports = module.exports = {
copyBackup: copyBackup,
removeBackup: removeBackup,
getDownloadStream: getDownloadStream,
backupDone: backupDone,
testConfig: testConfig
@@ -65,16 +63,6 @@ function removeBackup(apiConfig, backupId, appBackupIds, callback) {
callback(new Error('not implemented'));
}
function getDownloadStream(apiConfig, backupId, callback) {
assert.strictEqual(typeof apiConfig, 'object');
assert.strictEqual(typeof backupId, 'string');
assert.strictEqual(typeof callback, 'function');
// Result: ReadStream to a tar.gz (not encrypted)
callback(new Error('not implemented'));
}
function testConfig(apiConfig, callback) {
assert.strictEqual(typeof apiConfig, 'object');
assert.strictEqual(typeof callback, 'function');