You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -269,12 +269,10 @@ Sets the API address.
269
269
270
270
*`value` should be a [Multiaddr](https://github.com/multiformats/js-multiaddr) or a String representing a valid one.
271
271
272
-
### `Promise<Object> repo.stat ([options])`
272
+
### `Promise<Object> repo.stat ()`
273
273
274
274
Gets the repo status.
275
275
276
-
`options` is an object which might contain the key `human`, which is a boolean indicating whether or not the `repoSize` should be displayed in MiB or not.
277
-
278
276
Returned promise resolves to an `Object` with the following keys:
279
277
280
278
-`numObjects`
@@ -322,7 +320,7 @@ Returned promise resolves to a `boolean` indicating the existence of the lock.
322
320
323
321
### Migrations
324
322
325
-
When there is a new repo migration and the version of repo is increased, don't
323
+
When there is a new repo migration and the version of repo is increased, don't
326
324
forget to propagate the changes into the test repo (`test/test-repo`).
327
325
328
326
**For tools that run mainly in the browser environment, be aware that disabling automatic
0 commit comments