fileinfo

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	Name     string
	ByteSize int64
	Size     string
	ModTime  time.Time
	IsDir    bool
	Path     string
}

func Get

func Get(path string, maxdepth int, withdir bool) ([]FileInfo, error)

Get returns folders and files from given path

Jump to

Keyboard shortcuts

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