Documentation ¶
Index ¶
- func AskToRemoveDeleted(deletedRepos []location.LocalRepo) []location.LocalRepo
- func AskToRemoveOutdated(outdatedRepos []OutdatedRepo) []location.LocalRepo
- func CleanUp() (removed []string)
- func GetDeleted(repos []location.LocalRepo) (deleted []location.LocalRepo)
- func Remove(repos []location.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) []location.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(repos []location.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.