scan

package
v0.0.0-...-95c80d3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Directory

func Directory(root string, ignoreFiles, ignoreDirs map[string]struct{},
	wg *sync.WaitGroup, ch chan FileCallback) error

Directory is to scan given root directory, and build DB tree

Types

type FileCallback

type FileCallback struct {
	Path string
	Info os.FileInfo
}

FileCallback is to pass scan file info to caller

Jump to

Keyboard shortcuts

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