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

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

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

Метод Описание
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