ui

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConflictChoice added in v0.7.19

type ConflictChoice int
const (
	KeepBoth ConflictChoice = iota
	UseCloud
	UseLocal
)

func ResolveConflict added in v0.7.19

func ResolveConflict(loader *Loader, path, direction string) ConflictChoice

ResolveConflict asks the user to resolve a conflict.

type Loader

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

func Start

func Start(interval time.Duration) *Loader

func (*Loader) Stop

func (l *Loader) Stop(finalLine string)

Stop: 停止 spinner,并可选输出一行最终信息

Jump to

Keyboard shortcuts

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