IpfsRepoCommand class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
gc(
{bool? streamErrors, bool? quiet, bool? silent}) → Future< Map< String, dynamic> > -
Perform a garbage collection sweep on the repo.
/api/v0/repo/gc
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stat(
{bool? sizeOnly, bool? human}) → Future< Map< String, dynamic> > -
Get stats for the currently used repo.
/api/v0/repo/stat
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
) → Future< Map< String, dynamic> > -
Verify all blocks in repo are not corrupted.
/api/v0/repo/verify
-
version(
{bool? quiet}) → Future< Map< String, dynamic> > -
Show the repo version.
/api/v0/repo/version
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited