Documentation
¶
Index ¶
- type Client
- func (c *Client) AddDirectory(dirPath string) (string, error)
- func (c *Client) ImportSecpk251PubKey(ctx context.Context, pubKey *crypto.PubKey, options ...shell.KeyImportOpt) (string, error)
- func (c *Client) TraverseLocalDirectory(dirPath string, operation func(filePath string, info os.FileInfo) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around the IPFS shell client.
func (*Client) AddDirectory ¶
AddDirectory adds a local directory to IPFS.
Click to show internal directories.
Click to hide internal directories.