dir

package
v0.0.0-...-cae3ad5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	All = iota
	Files
	Folders
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Dir

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

func New

func New(path string) (Dir, error)

func (Dir) ListAll

func (d Dir) ListAll() []string

func (Dir) ListFiles

func (d Dir) ListFiles() []string

func (Dir) ListFilesAll

func (d Dir) ListFilesAll() []string

func (Dir) ListFilesType

func (d Dir) ListFilesType(ext string) []string

func (Dir) ListFolders

func (d Dir) ListFolders() []string

func (Dir) ListFoldersAll

func (d Dir) ListFoldersAll() []string

func (Dir) Run

func (d Dir) Run(cmd string, shell bool) (string, error)

Jump to

Keyboard shortcuts

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