func Repos(root string, pattern string) (paths []string) {
	if s, err := os.Stat(root); !os.IsNotExist(err) && s.IsDir() {
		root, err = filepath.Abs(root)
		if err == nil {
			reposInternal(&paths, root, "", pattern, true)
		}
	}
	return
}
// Repos collects all git repositories in a given root folder
Repos collects all git repositories in a given root folder
// Repos collects all git repositories in a given root folder
func Repos(root string, pattern string) (paths []string) {
	if s, err := os.Stat(root); !os.IsNotExist(err) && s.IsDir() {
		root, err = filepath.Abs(root)
		if err == nil {
			reposInternal(&paths, root, "", pattern, true)
		}
	}
	return
}
func Repos ( root string , pattern string ) ( paths [ ] string ) { if s , err := os . Stat ( root ) ; ! os . IsNotExist ( err ) && s . IsDir ( ) { root , err = filepath . Abs ( root ) if err == nil { reposInternal ( & paths , root , " " , pattern , true ) } } return }
Repos collects all git repositories in a given root folder
Repos collects all git repositories in a given root folder