MCPcopy
hub / github.com/hasura/graphql-engine / GetLocalVersion

Method GetLocalVersion

cli/migrate/source/driver.go:56–56  ·  view source on GitHub ↗

GetLocalVersion returns the latest version available in migrations folder

()

Source from the content-addressed store, hash-verified

54
55 // GetLocalVersion returns the latest version available in migrations folder
56 GetLocalVersion() (version uint64, err error)
57
58 // Get all unapplied migrations present in local directory
59 GetUnappliedMigrations(version uint64) (versions []uint64)

Callers 5

readStatusFromSourceMethod · 0.65
squashDownMethod · 0.65
GetLocalVersionMethod · 0.65
TestGetLocalVersionFunction · 0.65
GetLocalVersionMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestGetLocalVersionFunction · 0.52