C# 클래스 Ipfs.Commands.IpfsConfig

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

공개 메소드들

메소드 설명
Edit ( ) : Task

Opens the config file for editing in $EDITOR To use 'ipfs config edit', you must have the $EDITOR environment variable set to your preferred text editor.

Replace ( string file ) : Task

Replaces the config with Make sure to back up the config file first if neccessary, this operation can't be undone.

Show ( ) : Task

Outputs the content of the config file WARNING: Your private key is stored in the config file, and it will be included in the output of this command.

비공개 메소드들

메소드 설명
IpfsConfig ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : Ipfs.Json

메소드 상세

Edit() 공개 메소드

Opens the config file for editing in $EDITOR To use 'ipfs config edit', you must have the $EDITOR environment variable set to your preferred text editor.
public Edit ( ) : Task
리턴 Task

Replace() 공개 메소드

Replaces the config with Make sure to back up the config file first if neccessary, this operation can't be undone.
public Replace ( string file ) : Task
file string The file to use as the new config
리턴 Task

Show() 공개 메소드

Outputs the content of the config file WARNING: Your private key is stored in the config file, and it will be included in the output of this command.
public Show ( ) : Task
리턴 Task