repofinder

package
v0.0.0-...-88ab25c Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FoundRepo

type FoundRepo struct {
	Type    RepositoryType
	RawPath typedpath.RawPath
}

type RepoFinder

type RepoFinder func() ([]FoundRepo, error)

func Compose

func Compose(repoFinders []RepoFinder) RepoFinder

func New

func New(rootDirAbs typedpath.RawPath, targetDirRel typedpath.RawPath) RepoFinder

func StubRepoFinder

func StubRepoFinder(result []FoundRepo, err error) RepoFinder

type RepositoryType

type RepositoryType bool
const (
	RepositoryTypeIsSubmodule RepositoryType = true
	RepositoryTypeIsNested    RepositoryType = false
)

Jump to

Keyboard shortcuts

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