daemon

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

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DaemonKindEnvKey string = "LAZYAWS_DAEMON_KIND"
	RebaseTODOEnvKey string = "LAZYAWS_REBASE_TODO"

	// The `PrependLinesEnvKey` env variable is set to `true` to tell our daemon
	// to prepend the content of `RebaseTODOEnvKey` to the default `git-rebase-todo`
	// file instead of using it as a replacement.
	PrependLinesEnvKey string = "LAZYAWS_PREPEND_LINES"
)

Variables

This section is empty.

Functions

func Handle

func Handle(common *common.Common)

func InDaemonMode

func InDaemonMode() bool

Types

type Daemon

type Daemon interface {
	Run() error
}

type DaemonKind

type DaemonKind string
const (
	InteractiveRebase DaemonKind = "INTERACTIVE_REBASE"
	ExitImmediately   DaemonKind = "EXIT_IMMEDIATELY"
)

Jump to

Keyboard shortcuts

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