MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / newConnectFetchModel

Function newConnectFetchModel

tui/connect.go:60–69  ·  view source on GitHub ↗
(client *api.Client)

Source from the content-addressed store, hash-verified

58}
59
60func newConnectFetchModel(client *api.Client) connectModel {
61 s := NewPrimarySpinner()
62 return connectModel{
63 loading: true,
64 spinner: s,
65 client: client,
66 displayToID: make(map[string]string),
67 styles: newConnectStyles(),
68 }
69}
70
71func (m connectModel) Init() tea.Cmd {
72 if m.loading {

Callers 1

Calls 2

NewPrimarySpinnerFunction · 0.85
newConnectStylesFunction · 0.85

Tested by

no test coverage detected