sync

package
v0.56.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Unlicense Imports: 15 Imported by: 0

Documentation

Overview

Package sync implements the "orly sync" subcommand for sync service operations. Supports both one-shot CLI sync (like strfry sync) and running as a gRPC service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string)

Run executes the sync subcommand.

Types

type CLISyncConfig added in v0.55.10

type CLISyncConfig struct {
	RelayURL  string
	Filter    *filter.F
	Direction SyncDirection
	DataDir   string
	Verbose   bool
}

CLISyncConfig holds configuration for one-shot CLI sync

type SyncDirection added in v0.55.10

type SyncDirection string

SyncDirection specifies which direction to sync

const (
	DirDown SyncDirection = "down" // Download from remote to local
	DirUp   SyncDirection = "up"   // Upload from local to remote
	DirBoth SyncDirection = "both" // Bidirectional sync
)

Source Files

  • sync.go

Jump to

Keyboard shortcuts

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