MCPcopy Index your code
hub / github.com/rubenv/sql-migrate / FindMigrations

Method FindMigrations

migrate.go:356–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354var _ MigrationSource = (*EmbedFileSystemMigrationSource)(nil)
355
356func (f EmbedFileSystemMigrationSource) FindMigrations() ([]*Migration, error) {
357 return findMigrations(http.FS(f.FileSystem), f.Root)
358}
359
360// Avoids pulling in the packr library for everyone, mimicks the bits of
361// packr.Box that we need.

Callers

nothing calls this directly

Calls 1

findMigrationsFunction · 0.85

Tested by

no test coverage detected