Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 265eee5

Browse files
Alan Shawachingbrain
Alan Shaw
authored andcommitted
feat: export MFS root key
So that GC can avoid collecting your MFS https://github.com/ipfs/js-ipfs/pull/2022/files#r303383848
1 parent 375dcf2 commit 265eee5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ const cli = require('./cli')
44
const core = require('./core')
55
const http = require('./http')
66
const {
7-
FILE_TYPES
7+
FILE_TYPES,
8+
MFS_ROOT_KEY
89
} = require('./core/utils/constants')
910

1011
module.exports = {
1112
cli,
1213
core,
1314
http,
14-
FILE_TYPES
15+
FILE_TYPES,
16+
MFS_ROOT_KEY
1517
}

0 commit comments

Comments
 (0)