MCPcopy
hub / github.com/rubenv/sql-migrate / byId

TypeAlias byId

migrate.go:173–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173type byId []*Migration
174
175func (b byId) Len() int { return len(b) }
176func (b byId) Swap(i, j int) { b[i], b[j] = b[j], b[i] }

Callers 7

TestSortMigrationsMethod · 0.85
FindMigrationsMethod · 0.85
findMigrationsFunction · 0.85
FindMigrationsMethod · 0.85
FindMigrationsMethod · 0.85
planMigrationCommonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected