The storage backends dont need a backup listing function
This commit is contained in:
@@ -10,8 +10,6 @@ exports = module.exports = {
|
||||
getBoxBackupDetails: getBoxBackupDetails,
|
||||
getAppBackupDetails: getAppBackupDetails,
|
||||
|
||||
getAllPaged: getAllPaged,
|
||||
|
||||
getRestoreUrl: getRestoreUrl,
|
||||
|
||||
copyObject: copyObject
|
||||
@@ -43,18 +41,6 @@ function getAppBackupDetails(apiConfig, appId, dataId, configId, callback) {
|
||||
callback(new Error('not implemented'));
|
||||
}
|
||||
|
||||
function getAllPaged(apiConfig, page, perPage, callback) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
assert.strictEqual(typeof page, 'number');
|
||||
assert.strictEqual(typeof perPage, 'number');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
// Result: { backupScriptArguments: [ { creationTime: <timestamp> }, restoreKey: <filename>, dependsOn: [] ] }
|
||||
// The resulting array consists of objects representing each backup
|
||||
|
||||
callback(new Error('not implemented'));
|
||||
}
|
||||
|
||||
function getRestoreUrl(apiConfig, filename, callback) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
assert.strictEqual(typeof filename, 'string');
|
||||
|
||||
Reference in New Issue
Block a user