Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Commit

Permalink
refactor: move code to src/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
aphelionz committed Jul 27, 2021
1 parent 833d645 commit 3969475
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
exports.MemStore = require('./mem-store')
exports.swarm = require('./swarm')
exports.config = require('./config')
exports.connectPeers = require('./connect-peers')
exports.getIpfsPeerId = require('./get-ipfs-peer-id')
exports.startIpfs = require('./start-ipfs')
exports.stopIpfs = require('./stop-ipfs')
exports.testAPIs = require('./test-apis.js')
exports.waitForPeers = require('./wait-for-peers')
exports.MemStore = require('./src/mem-store')
exports.swarm = require('./src/swarm')
exports.config = require('./src/config')
exports.connectPeers = require('./src/connect-peers')
exports.getIpfsPeerId = require('./src/get-ipfs-peer-id')
exports.startIpfs = require('./src/start-ipfs')
exports.stopIpfs = require('./src/stop-ipfs')
exports.testAPIs = require('./src/test-apis.js')
exports.waitForPeers = require('./src/wait-for-peers')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/memstore.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const assert = require('assert')
const MemStore = require('../mem-store')
const { MemStore } = require('../')

describe('MemStore', function () {
it('puts and gets values', async () => {
Expand Down

0 comments on commit 3969475

Please sign in to comment.