crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.11
ROOT
/
cli
/
migrate
/
source
/
file
/
file.go
Search
History
256 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
File
url
:
string
path
:
string
defaultParser
:
source.Parser
Migrations
:
*source.Migrations
logger
:
*log.Logger
init
()
New
(url string, logger *log.Logger)
:
(*File, error)
*File
Open
(url string, logger *log.Logger)
:
(source.Driver, error)
Close
()
:
error
DefaultParser
(p source.Parser)
Scan
()
:
error
First
()
:
(version uint64, err error)
GetLocalVersion
()
:
(version uint64, err error)
GetUnappliedMigrations
(version uint64)
:
(versions []uint64)
Prev
(version uint64)
:
(prevVersion uint64, err error)
Next
(version uint64)
:
(nextVersion uint64, err error)
GetDirections
(version uint64)
:
map[source.Direction]bool
ReadUp
(version uint64)
:
(r io.ReadCloser, identifier string, fileName string, err error)
ReadMetaUp
(version uint64)
:
(r io.ReadCloser, identifier string, fileName string, err error)
ReadDown
(version uint64)
:
(r io.ReadCloser, identifier string, fileName string, err error)
ReadMetaDown
(version uint64)
:
(r io.ReadCloser, identifier string, fileName string, err error)
ReadName
(version uint64)
:
(name string)
WriteMetadata
(files map[string][]byte)
:
error
All occurrences
Please wait...
Page is in error, reload to recover