MCPcopy Create free account
hub / github.com/Shopify/ghostferry / AsSlice

Method AsSlice

table_schema_cache.go:317–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315}
316
317func (c TableSchemaCache) AsSlice() (tables []*TableSchema) {
318 for _, tableSchema := range c {
319 tables = append(tables, tableSchema)
320 }
321
322 return
323}
324
325func (c TableSchemaCache) AllTableNames() (tableNames []string) {
326 for tableName, _ := range c {

Callers 15

NewIterativeVerifierMethod · 0.80
RunMethod · 0.80
ProgressMethod · 0.80
TestAsSliceMethod · 0.80
TestAsSliceEmptyMethod · 0.80
TestFingerprintQueryMethod · 0.80
TestTableRowMd5QueryMethod · 0.80
SetupTestMethod · 0.80

Calls

no outgoing calls

Tested by 10

TestAsSliceMethod · 0.64
TestAsSliceEmptyMethod · 0.64
TestFingerprintQueryMethod · 0.64
TestTableRowMd5QueryMethod · 0.64
SetupTestMethod · 0.64
reloadTablesMethod · 0.64
SetupTestMethod · 0.64