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 ¶
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
Click to show internal directories.
Click to hide internal directories.