C# 클래스 Ipfs.Commands.IpfsObject

상속: Ipfs.Json.IpfsCommand
파일 보기 프로젝트 열기: TrekDev/net-ipfs-api

공개 메소드들

메소드 설명
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