메소드 | 설명 | |
---|---|---|
Add ( IpfsStream stream, bool recursive = false, bool quiet = false, bool wrapWithDirectory = false, bool trickle = false ) : Task |
Add an object to ipfs. Adds contents of
|
|
Cat ( string ipfsPath ) : Task |
Show IPFS object data Retrieves the object named by
|
|
Commands ( ) : Task |
List all available commands. Lists all available commands (and subcommands) and exits.
|
|
ConfigCommand ( string key, string value = null, bool @bool = false ) : Task |
get and set IPFS config values ipfs config controls configuration variables. It works much like 'git config'. The configuration values are stored in a config file inside your IPFS repository.
|
|
Dns ( string domainName, bool recursive = false ) : Task |
DNS link resolver Multihashes are hard to remember, but domain names are usually easy to remember.To create memorable aliases for multihashes, DNS TXT records can point to other DNS links, IPFS objects, IPNS keys, etc. This command resolves those links to the referenced object. For example, with this DNS TXT record: ipfs.io.TXT "dnslink=/ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy ..." The resolver will give: > ipfs dns ipfs.io /ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy And with this DNS TXT record: ipfs.ipfs.io.TXT "dnslink=/dns/ipfs.io ..." The resolver will give: > ipfs dns ipfs.io /dns/ipfs.io > ipfs dns --recursive /ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy
|
|
Get ( string ipfsPath, string output = null, bool archive = false, bool compress = false, int compressionLevel = null ) : Task |
Download IPFS objects Retrieves the object named by
|
|
Id ( string peerId = null, string format = null ) : Task |
Show IPFS Node ID info Prints out information about the specified peer, if no peer is specified, prints out local peers info. ipfs id supports the format option for output with the following keys:
|
|
Ls ( string path ) : Task |
List links from an object. Retrieves the object named by
|
|
Mount ( string f = null, string n = null ) : Task |
Mounts IPFS to the filesystem (read-only) Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns). All ipfs objects will be accessible under that directory.Note that the root will not be listable, as it is virtual. Access known paths directly. You may have to create /ipfs and /ipfs before using 'ipfs mount'
|
|
Ping ( string peerId, int count = null ) : Task |
send echo request packets to IPFS hosts ipfs ping is a tool to test sending data to other nodes. It finds nodes via the routing system, send pings, wait for pongs, and print out round- trip latency information.
|
|
RefsCommand ( string ipfsPath, string format = null, bool edges = false, bool unique = false, bool recursive = false ) : Task |
Lists links (references) from an object Retrieves the object named by
|
|
TourCommand ( string id ) : Task |
An introduction to IPFS This is a tour that takes you through various IPFS concepts, features, and tools to make sure you get up to speed with IPFS very quickly
|
|
Version ( bool number = false ) : Task |
ipfs version - Shows ipfs version information
|
메소드 | 설명 | |
---|---|---|
IpfsRoot ( |
public Add ( IpfsStream stream, bool recursive = false, bool quiet = false, bool wrapWithDirectory = false, bool trickle = false ) : Task |
||
stream | IpfsStream | The ipfs stream. |
recursive | bool | Add directory paths recursively |
quiet | bool | Write minimal output |
wrapWithDirectory | bool | Wrap files with a directory object |
trickle | bool | Use trickle-dag format for dag generation |
리턴 | Task |
public Cat ( string ipfsPath ) : Task |
||
ipfsPath | string | The path to the IPFS object(s) to be outputted |
리턴 | Task |
public ConfigCommand ( string key, string value = null, bool @bool = false ) : Task |
||
key | string | The key of the config entry (e.g. "Addresses.API") |
value | string | The value to set the config entry to |
@bool | bool | |
리턴 | Task |
public Dns ( string domainName, bool recursive = false ) : Task |
||
domainName | string | The domain-name name to resolve. |
recursive | bool | Resolve until the result is not a DNS link |
리턴 | Task |
public Get ( string ipfsPath, string output = null, bool archive = false, bool compress = false, int compressionLevel = null ) : Task |
||
ipfsPath | string | The path to the IPFS object(s) to be outputted |
output | string | The path where output should be stored |
archive | bool | Output a TAR archive |
compress | bool | Compress the output with GZIP compression |
compressionLevel | int | The level of compression (1-9) |
리턴 | Task |
public Id ( string peerId = null, string format = null ) : Task |
||
peerId | string | peer.ID of node to look up |
format | string | optional output format |
리턴 | Task |
public Ls ( string path ) : Task |
||
path | string | The path to the IPFS object(s) to list links from |
리턴 | Task |
public Mount ( string f = null, string n = null ) : Task |
||
f | string | The path where IPFS should be mounted |
n | string | The path where IPNS should be mounted |
리턴 | Task |
public Ping ( string peerId, int count = null ) : Task |
||
peerId | string | ID of peer to be pinged |
count | int | number of ping messages to send |
리턴 | Task |
public RefsCommand ( string ipfsPath, string format = null, bool edges = false, bool unique = false, bool recursive = false ) : Task |
||
ipfsPath | string | Path to the object(s) to list refs from |
format | string | Emit edges with given format. tokens: |
edges | bool | Emit edge format: ` |
unique | bool | Omit duplicate refs from output |
recursive | bool | Recursively list links of child nodes |
리턴 | Task |
public TourCommand ( string id ) : Task |
||
id | string | The id of the topic you would like to tour |
리턴 | Task |
public Version ( bool number = false ) : Task |
||
number | bool | Only show the version number |
리턴 | Task |