Skip to content

Commit 1ff2ee3

Browse files
jacobheundaviddias
authored andcommitted
docs: fix docs for lock include
1 parent c97db6c commit 1ff2ee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ Gets the repo status.
301301
IPFS Repo comes with two built in locks: memory and fs. These can be imported via the following:
302302

303303
```js
304-
const fsLock = require('ipfs-repo/lock') // Default in Node.js
305-
const memLock = require('ipfs-repo/lock-memory') // Default in browser
304+
const fsLock = require('ipfs-repo/src/lock') // Default in Node.js
305+
const memLock = require('ipfs-repo/src/lock-memory') // Default in browser
306306
```
307307

308308
#### `lock.open (dir, callback)`

0 commit comments

Comments
 (0)