MCPcopy Create free account
hub / github.com/dim-an/cod / NewUI

Function NewUI

ui.go:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func NewUI() UI {
32 if terminal.IsTerminal(0) {
33 return TerminalUI(0)
34 } else {
35 return FileUI(0)
36 }
37}
38
39type FileUI int
40

Callers 2

summarizeLearningFunction · 0.85
apiPostexecMainFunction · 0.85

Calls 2

TerminalUITypeAlias · 0.85
FileUITypeAlias · 0.85

Tested by

no test coverage detected