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
/
internal
/
scripts
/
update-project-v3.go
Search
History
359 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
UpdateProjectV3Opts
EC
:
*cli.ExecutionContext
Fs
:
afero.Fs
ProjectDirectory
:
string
MigrationsAbsDirectoryPath
:
string
SeedsAbsDirectoryPath
:
string
TargetDatabase
:
string
Force
:
bool
MoveStateOnly
:
bool
Logger
:
*logrus.Logger
UpdateProjectV3
(opts UpdateProjectV3Opts)
:
error
removeDirectories
(fs afero.Fs, parentDirectory string, dirNames []string)
:
error
copyMigrations
(fs afero.Fs, dirs []string, parentDir, target string)
:
error
copyFiles
(fs afero.Fs, files []string, parentDir, target string)
:
error
getMigrationDirectoryNames
(fs afero.Fs, rootMigrationsDir string)
:
([]string, error)
getSeedFiles
(fs afero.Fs, rootSeedDir string)
:
([]string, error)
getMatchingFilesAndDirs
(fs afero.Fs, parentDir string, matcher func(string) (bool, error))
:
([]string, error)
isHasuraCLIGeneratedMigration
(dirPath string)
:
(bool, error)
CopyState
(ec *cli.ExecutionContext, sourceDatabase, destDatabase string)
:
error
CheckIfUpdateToConfigV3IsRequired
(ec *cli.ExecutionContext)
:
error
All occurrences
Please wait...
Page is in error, reload to recover