sync

package
v0.0.0-...-8e2590b Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func New

func New(repo *storage.Repository, repoPath, remote, branch string, strategy Strategy, autoPush bool) *Engine

func (*Engine) Enabled

func (e *Engine) Enabled() bool

func (*Engine) SyncNow

func (e *Engine) SyncNow(ctx context.Context) error

type Strategy

type Strategy string
const (
	StrategyOurs   Strategy = "ours"
	StrategyTheirs Strategy = "theirs"
)

Jump to

Keyboard shortcuts

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