gitmirror

package
v0.0.0-...-1d7f13f Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneMirrorAndInspect

func CloneMirrorAndInspect(repo cfgpkg.Repo) (markdown.RepoSyncResult, error)

CloneMirrorAndInspect clones the origin bare, fetches all refs, and mirrors to target. Returns a RepoSyncResult with latest default branch commit info.

func SetLogger

func SetLogger(l *zap.Logger)

SetLogger sets the package logger; pass nil to use a no-op logger.

func SetProgressEnabled

func SetProgressEnabled(enabled bool)

SetProgressEnabled toggles streaming of git fetch/push progress to the logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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