filesys

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFileDir

func CreateFileDir(file *FileContent) error

func CreateFolder

func CreateFolder(l []*FileContent) error

func GetDirectPath

func GetDirectPath(dir string) (string, error)

Types

type FileContent

type FileContent struct {
	Name    string
	Mode    os.FileMode
	IsDir   bool
	Content []byte
}

func Walk

func Walk(dir string) ([]*FileContent, error)

Jump to

Keyboard shortcuts

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