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

Function fetchCreateSnapshotsCmd

tui/create.go:430–435  ·  view source on GitHub ↗
(client *api.Client)

Source from the content-addressed store, hash-verified

428}
429
430func fetchCreateSnapshotsCmd(client *api.Client) tea.Cmd {
431 return func() tea.Msg {
432 snapshots, err := client.ListSnapshots()
433 return createSnapshotsMsg{snapshots: []api.Snapshot(snapshots), err: err}
434 }
435}
436
437func fetchCreatePricingCmd(client *api.Client) tea.Cmd {
438 return func() tea.Msg {

Callers 1

InitMethod · 0.85

Calls 1

ListSnapshotsMethod · 0.80

Tested by

no test coverage detected