C# Класс Ipfs.Commands.IpfsObject

Наследование: Ipfs.Json.IpfsCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
Data ( string key ) : Task

Outputs the raw bytes in an IPFS object ipfs data is a plumbing command for retreiving the raw bytes stored in a DAG node.It outputs to stdout, and is a base58 encoded multihash.

Get ( string key, IpfsEncoding encoding ) : Task

Get and serialize the DAG node named by 'ipfs object get' is a plumbing command for retreiving DAG nodes. It serializes the DAG node to the format specified by the "--encoding" flag.It outputs to stdout, and is a base58 encoded multihash.

Links ( string key ) : Task

Outputs the links pointed to by the specified object 'ipfs object links' is a plumbing command for retreiving the links from a DAG node.It outputs to stdout, and is a base58 encoded multihash.

Put ( MerkleNode node ) : Task

Stores input as a DAG object, outputs its key 'ipfs object put' is a plumbing command for storing DAG nodes. It reads from stdin, and the output is a base58 encoded multihash.

Stat ( string key ) : Task

Get stats for the DAG node named by 'ipfs object stat' is a plumbing command to print DAG node statistics. is a base58 encoded multihash.It outputs to stdout:

Приватные методы

Метод Описание
GetIpfsEncodingValue ( IpfsEncoding encoding ) : string
IpfsObject ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : Ipfs.Json

Описание методов

Data() публичный Метод

Outputs the raw bytes in an IPFS object ipfs data is a plumbing command for retreiving the raw bytes stored in a DAG node.It outputs to stdout, and is a base58 encoded multihash.
public Data ( string key ) : Task
key string Key of the object to retrieve, in base58-encoded multihash format
Результат Task

Get() публичный Метод

Get and serialize the DAG node named by 'ipfs object get' is a plumbing command for retreiving DAG nodes. It serializes the DAG node to the format specified by the "--encoding" flag.It outputs to stdout, and is a base58 encoded multihash.
public Get ( string key, IpfsEncoding encoding ) : Task
key string Key of the object to retrieve (in base58-encoded multihash format)
encoding IpfsEncoding The encoding of the data
Результат Task

Links() публичный Метод

Outputs the links pointed to by the specified object 'ipfs object links' is a plumbing command for retreiving the links from a DAG node.It outputs to stdout, and is a base58 encoded multihash.
public Links ( string key ) : Task
key string Key of the object to retrieve, in base58-encoded multihash format
Результат Task

Put() публичный Метод

Stores input as a DAG object, outputs its key 'ipfs object put' is a plumbing command for storing DAG nodes. It reads from stdin, and the output is a base58 encoded multihash.
public Put ( MerkleNode node ) : Task
node MerkleNode Node to be stored as a DAG object
Результат Task

Stat() публичный Метод

Get stats for the DAG node named by 'ipfs object stat' is a plumbing command to print DAG node statistics. is a base58 encoded multihash.It outputs to stdout:
public Stat ( string key ) : Task
key string Key of the object to retrieve (in base58-encoded multihash format)
Результат Task