scan

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindGitRepos

func FindGitRepos(roots []string) (gitReposPaths []string, warnings []string)

FindGitRepos walks each root and returns directories that look like Git worktrees. Simple rules: - A directory containing `.git` (directory) is a repo root. - Or a `.git` file whose contents include "gitdir:" (worktrees/submodules). - When we find a repo root, we SkipDir to avoid descending into nested repos (for now).

Types

This section is empty.

Jump to

Keyboard shortcuts

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