commands

package
v0.0.0-...-bebc87d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2014 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDepthLimitExceeded = fmt.Errorf("depth limit exceeded")

Error indicating the max depth has been exceded.

Functions

func Add

func Add(n *core.IpfsNode, args []string, opts map[string]interface{}, out io.Writer) error

func AddPath

func AddPath(n *core.IpfsNode, fpath string, depth int) (*dag.Node, error)

func Cat

func Cat(n *core.IpfsNode, args []string, opts map[string]interface{}, out io.Writer) error

func Ls

func Ls(n *core.IpfsNode, args []string, opts map[string]interface{}, out io.Writer) error

func Pin

func Pin(n *core.IpfsNode, args []string, opts map[string]interface{}, out io.Writer) error

func Refs

func Refs(n *core.IpfsNode, args []string, opts map[string]interface{}, out io.Writer) error

Types

type CmdFunc

type CmdFunc func(*core.IpfsNode, []string, map[string]interface{}, io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳