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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user