1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

extract renameStorage, removeStorage methods

and tests for each of them
This commit is contained in:
Dick Choi
2016-08-26 10:26:22 +09:00
parent eacd01e77e
commit c5414aadd1
6 changed files with 144 additions and 1 deletions

View File

@@ -3,6 +3,15 @@ const _ = require('lodash')
const sander = require('sander')
const path = require('path')
/**
* @return {Object} all storages and notes
* ```
* {
* storages: [...],
* notes: [...]
* }
* ```
*/
function init () {
let fetchStorages = function () {
let rawStorages