MCPcopy
hub / github.com/jesseduffield/lazygit / ToEnvVars

Function ToEnvVars

pkg/app/daemon/daemon.go:133–138  ·  view source on GitHub ↗
(instruction Instruction)

Source from the content-addressed store, hash-verified

131}
132
133func ToEnvVars(instruction Instruction) []string {
134 return []string{
135 fmt.Sprintf("%s=%d", DaemonKindEnvKey, instruction.Kind()),
136 fmt.Sprintf("%s=%s", DaemonInstructionEnvKey, instruction.SerializedInstructions()),
137 }
138}
139
140type ExitImmediatelyInstruction struct{}
141

Callers 3

GitRebaseEditTodoMethod · 0.92
runSkipEditorCommandMethod · 0.92

Calls 3

SprintfMethod · 0.65
KindMethod · 0.65

Tested by

no test coverage detected