walker

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseCSVFile

func UseCSVFile(csvPath string, filesChan chan<- SrcDest, errors chan<- SrcDest, newerThan time.Time)

func Walk

func Walk(walkPath string, filesChan chan<- SrcDest, errors chan<- SrcDest, excludes *[]string, newerThan time.Time)

Walk would recursivly get all files (except but excluded) And would write files path to fileChan channel

Types

type SrcDest

type SrcDest struct {
	SourceFile   string
	SourceSha256 string
	SourceSize   uint64
	DstObject    string
	Error        error
}

Jump to

Keyboard shortcuts

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