pathadder

package
v0.0.0-...-42a4098 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PathAdder

type PathAdder struct {
	// contains filtered or unexported fields
}

PathAdder adds path to IPFS

func New

func New(ipfsClient *ipfs.IPFS, handleHiddenFiles bool) *PathAdder

New creates new instance of PathAdder

func (*PathAdder) AddPath

func (a *PathAdder) AddPath(ctx context.Context, fPath string) error

AddPath adds path to IPFS. Directories are added recursively.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL