Documentation ¶
Index ¶
- func AskToRemoveDeleted(deletedRepos []repos.LocalRepo) []repos.LocalRepo
- func AskToRemoveOutdated(outdatedRepos []OutdatedRepo) []repos.LocalRepo
- func CleanUp() (removed []string)
- func GetDeleted(repos []repos.LocalRepo) (deleted []repos.LocalRepo)
- func Remove(repos []repos.LocalRepo)
- type Flags
- type OutdatedRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskToRemoveDeleted ¶
Confirm with the user that they want to remove a deleted repo
func AskToRemoveOutdated ¶
func AskToRemoveOutdated(outdatedRepos []OutdatedRepo) []repos.LocalRepo
Confirm with the user that they want to remove an outdated repo
func CleanUp ¶
func CleanUp() (removed []string)
Remove empty folders >3 diretories deep from ~/github
func GetDeleted ¶
Get all the repos locally that have been deleted on GitHub
Types ¶
type OutdatedRepo ¶
func GetOutdated ¶
func GetOutdated(clonedRepos []repos.LocalRepo, yearsOld int, monthsOld int, daysOld int) (outdated []OutdatedRepo)
Get the repos that haven't been modified locally in a certain amount of time
Click to show internal directories.
Click to hide internal directories.