discovery

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagedRepo

type ManagedRepo struct {
	Owner string
	Repo  string
	Path  string
	Meta  *meta.Meta
}

ManagedRepo represents a discovered managed repository.

func DiscoverManagedRepos

func DiscoverManagedRepos() ([]ManagedRepo, error)

DiscoverManagedRepos scans the gh-md root for all managed repositories. A repository is considered "managed" if it has a .gh-md-meta.yaml file.

func (*ManagedRepo) LastSyncTime

func (r *ManagedRepo) LastSyncTime() *time.Time

LastSyncTime returns the most recent sync timestamp across all item types.

func (*ManagedRepo) Slug

func (r *ManagedRepo) Slug() string

Slug returns "owner/repo" format.

Jump to

Keyboard shortcuts

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