Manages the IPFS Directed Acrylic Graph.
Namespace: Ipfs.CoreApi Assembly: Ipfs.Core.dll Syntaxpublic interface IObjectApi
Methods | Improve this Doc View Source DataAsync(Cid, CancellationToken)
Get the data of a MerkleDAG node.
DeclarationTask<Stream> DataAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<Stream>
A task that represents the asynchronous operation. The task's value is a stream of data.
| Improve this Doc View Source GetAsync(Cid, CancellationToken)Fetch a MerkleDAG node.
DeclarationTask<DagNode> GetAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>
A task that represents the asynchronous operation. The task's value is a DagNode.
| Improve this Doc View Source LinksAsync(Cid, CancellationToken)Get the links of a MerkleDAG node.
DeclarationTask<IEnumerable<IMerkleLink>> LinksAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<IEnumerable<IMerkleLink>>
A task that represents the asynchronous operation. The task's value is a sequence of links to the immediate children.
| Improve this Doc View Source NewAsync(String, CancellationToken)Create a new MerkleDAG node, using a specific layout.
DeclarationTask<DagNode> NewAsync(string template = null, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>
A task that represents the asynchronous operation. The task's value is a DagNode to the new directory.
| Improve this Doc View Source NewDirectoryAsync(CancellationToken)Creates a new file directory in IPFS.
DeclarationTask<DagNode> NewDirectoryAsync(CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>
A task that represents the asynchronous operation. The task's value is a DagNode to the new directory.
| Improve this Doc View Source PutAsync(DagNode, CancellationToken)Store a MerkleDAG node.
DeclarationTask<DagNode> PutAsync(DagNode node, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>
A task that represents the asynchronous operation. The task's value is a DagNode.
| Improve this Doc View Source PutAsync(Byte[], IEnumerable<IMerkleLink>, CancellationToken)Store a MerkleDAG node.
DeclarationTask<DagNode> PutAsync(byte[] data, IEnumerable<IMerkleLink> links = null, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>
A task that represents the asynchronous operation. The task's value is a DagNode.
| Improve this Doc View Source StatAsync(Cid, CancellationToken)Information on a MerkleDag node.
DeclarationTask<ObjectStat> StatAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<ObjectStat>
A task that represents the asynchronous operation. The task's value contains the ObjectStat.
See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4