MCPcopy
hub / github.com/sqlc-dev/sqlc / IsDown

Function IsDown

internal/migrations/migrations.go:59–62  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

57}
58
59func IsDown(filename string) bool {
60 // Remove golang-migrate rollback files.
61 return strings.HasSuffix(filename, ".down.sql")
62}

Callers 2

GlobFunction · 0.92

Calls

no outgoing calls

Tested by 1