files

package
v0.0.0-...-71eb26a Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileList

func GetFileList() ([]string, error)

Types

type FileWalker

type FileWalker struct {
	Root string
}

func NewFileWalker

func NewFileWalker(root string) *FileWalker

func (*FileWalker) WalkFiles

func (f *FileWalker) WalkFiles() ([]string, error)

type StatusTracker

type StatusTracker struct {
	// contains filtered or unexported fields
}

func NewStatusTracker

func NewStatusTracker(files []string) *StatusTracker

NewStatusTracker creates a new StatusTracker.

func (*StatusTracker) GetStatus

func (s *StatusTracker) GetStatus() string

GetStatus returns the current status.

func (*StatusTracker) ProcessFiles

func (s *StatusTracker) ProcessFiles(mode string, dryRun bool) error

ProcessFiles processes all the files and updates the status.

Jump to

Keyboard shortcuts

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