discovery

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BfsState

type BfsState struct {
	Queue []FileInformation
}

type Discoverer

type Discoverer interface {
	Next() (FileInformation, error)
}

func MakeBfsDiscoverer

func MakeBfsDiscoverer(basePath string) (Discoverer, error)

type FileInformation

type FileInformation struct {
	FullPath string
	Info     fs.FileInfo
}

func MakeFileInformation

func MakeFileInformation(path string) (FileInformation, error)
func MakeFileInformationWithSymbolicLinks(path string) (FileInformation, error)

Jump to

Keyboard shortcuts

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