cleanup

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(opts CleanupOptions)

Cleanup performs the cleanup process on repositories in the specified directory

func CountChanges

func CountChanges(status git.Status) (int, int, int, int)

func ProcessSingleRepository

func ProcessSingleRepository(opts CleanupOptions) error

ProcessSingleRepository processes a single Git repository

func ProcessSubdirectories

func ProcessSubdirectories(opts CleanupOptions) error

Types

type CleanupOptions

type CleanupOptions struct {
	RepoPath    string
	AllFlag     bool
	DropChanges bool
}

CleanupOptions holds the configuration for the cleanup process

Jump to

Keyboard shortcuts

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