Add backupDone hook

This commit is contained in:
Girish Ramakrishnan
2017-01-04 16:22:58 -08:00
parent 2b27e554fd
commit 31a9437b2c
4 changed files with 47 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ exports = module.exports = {
copyObject: copyObject,
removeBackup: removeBackup,
backupDone: backupDone,
testConfig: testConfig
};
@@ -111,3 +113,12 @@ function testConfig(apiConfig, callback) {
callback(new Error('not implemented'));
}
function backupDone(filename, app, appBackupIds, callback) {
assert.strictEqual(typeof filename, 'string');
assert(!app || typeof app === 'object');
assert(!appBackupIds || Array.isArray(appBackupIds));
assert.strictEqual(typeof callback, 'function');
callback(new Error('not implemented'));
}