Documentation ¶
Index ¶
- func GetApi(env cmds.Environment, req *cmds.Request) (coreiface.CoreAPI, error)
- func GetConfig(env cmds.Environment) (*config.Config, error)
- func GetConfigRoot(env cmds.Environment) (string, error)
- func GetFileArg(it files.DirIterator) (files.File, error)
- func GetNode(env interface{}) (*core.IpfsNode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
func GetConfig(env cmds.Environment) (*config.Config, error)
GetConfig extracts the config from the environment.
func GetConfigRoot ¶
func GetConfigRoot(env cmds.Environment) (string, error)
GetConfigRoot extracts the config root from the environment
func GetFileArg ¶
func GetFileArg(it files.DirIterator) (files.File, error)
GetFileArg returns the next file from the directory or an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.