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

Interface PackrBox

migrate.go:362–365  ·  view source on GitHub ↗

Avoids pulling in the packr library for everyone, mimicks the bits of packr.Box that we need.

Source from the content-addressed store, hash-verified

360// Avoids pulling in the packr library for everyone, mimicks the bits of
361// packr.Box that we need.
362type PackrBox interface {
363 List() []string
364 Find(name string) ([]byte, error)
365}
366
367// Migrations from a packr box.
368type PackrMigrationSource struct {

Callers 2

FindMigrationsMethod · 0.80
FindMigrationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…