Documentation
¶
Index ¶
- type File
- func ListFiles(dir string) (files []File, err error)
- func ListFilesGodirwalk(dir string) (files []File, err error)
- func ListFilesRecursively(dir string) (files []File, err error)
- func ListFilesRecursivelyInParallel(dir string) (files []File, err error)
- func ListFilesUsingC(dir string) (files []File, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Path string
Size int64
Mode os.FileMode
ModTime time.Time
IsDir bool
Hash uint64 `hash:"ignore"`
}
File is the object that contains the info and path of the file
func ListFilesGodirwalk ¶
func ListFilesRecursively ¶
ListFilesRecursively uses filepath.Walk to list all the files
func ListFilesRecursivelyInParallel ¶
ListFilesRecursivelyInParallel uses goroutines to list all the files
func ListFilesUsingC ¶
Click to show internal directories.
Click to hide internal directories.