sync

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneOrUpdateRawRepo added in v0.12.0

func CloneOrUpdateRawRepo(repoOwner, repoName, repoURL string, config config.Config)

func CloneOrUpdateRepo

func CloneOrUpdateRepo(repoOwner, repoName string, config config.Config)

func InitTokenManager added in v0.14.1

func InitTokenManager(tokens []string)

func LogRepoCount added in v0.13.0

func LogRepoCount(count int, repoType string)

func LogSyncSummary added in v0.15.0

func LogSyncSummary(cfg *config.Config)

func SyncWiki added in v0.8.0

func SyncWiki(repoOwner, repoName string, config config.Config)

func SyncWithConcurrency added in v0.13.0

func SyncWithConcurrency[T any](cfg config.Config, repos []T, syncFn func(T))

Types

type SyncStats added in v0.15.0

type SyncStats struct {
	ReposSuccess int
	ReposFailed  []string
	WikisSuccess int
	WikisFailed  []string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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