MCPcopy
hub / github.com/mathaou/termdbms / SerializeOverwrite

Function SerializeOverwrite

viewer/serialize.go:28–37  ·  view source on GitHub ↗
(m *TuiModel)

Source from the content-addressed store, hash-verified

26}
27
28func SerializeOverwrite(m *TuiModel) error {
29 t := m.Table()
30 switch t.Database.(type) {
31 case *database.SQLite:
32 SerializeOverwriteSQLiteDB(t.Database.(*database.SQLite), m)
33 return nil
34 default:
35 return errors.New(serializationErrorString)
36 }
37}
38
39// SQLITE
40

Callers 1

EditEnterFunction · 0.85

Calls 2

TableMethod · 0.80

Tested by

no test coverage detected