IpfsDagCommand class

Constructors

IpfsDagCommand()

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

export({required String cid, bool? progress}) Future<Map<String, dynamic>>
Streams the selected DAG as a .car stream on stdout. /api/v0/dag/export
get({required String object, String? outputCodec}) Future<Map<String, dynamic>>
Get a DAG node from IPFS. /api/v0/dag/get
import({required String path, bool? pinRoots, bool? silent, bool? stats, bool? allowBigBlock}) Future<Map<String, dynamic>>
Import the contents of .car files /api/v0/dag/import
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put({required String path, String? storeCodec, String? inputCodec, bool? pin, String? hash, bool? allowBigBlock}) Future<Map<String, dynamic>>
Add a DAG node to IPFS. /api/v0/dag/put
resolve({required String path}) Future<Map<String, dynamic>>
Resolve IPLD block. /api/v0/dag/resolve
stat({required String cid, bool? progress}) Future<Map<String, dynamic>>
Gets stats for a DAG. /api/v0/dag/stat
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited