Rename backupToDirectory
to exportToDirectory
For symmetry reasons.
This commit is contained in:
parent
bf67254cc5
commit
cf7355bd2f
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ const {
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
getDirectoryForExport,
|
getDirectoryForExport,
|
||||||
backupToDirectory,
|
exportToDirectory,
|
||||||
getDirectoryForImport,
|
getDirectoryForImport,
|
||||||
importFromDirectory,
|
importFromDirectory,
|
||||||
// for testing
|
// for testing
|
||||||
|
@ -1105,7 +1105,7 @@ function deleteAll(pattern) {
|
||||||
return pify(rimraf)(pattern);
|
return pify(rimraf)(pattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function backupToDirectory(directory, options) {
|
async function exportToDirectory(directory, options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
if (!options.key) {
|
if (!options.key) {
|
||||||
|
|
Loading…
Reference in a new issue