scanner

package
v0.0.0-...-ec59030 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package scanner walks directories and detects Git repositories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoInfo

type RepoInfo struct {
	AbsolutePath string
	RelativePath string
}

RepoInfo holds raw data extracted from a discovered Git repo.

func ScanDir

func ScanDir(root string, excludeDirs []string) ([]RepoInfo, error)

ScanDir walks root recursively and returns all Git repo paths found.

Jump to

Keyboard shortcuts

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