mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-12 08:00:05 +01:00
Remove unused code in main.go
This commit is contained in:
parent
4630466006
commit
e5199342ea
1 changed files with 0 additions and 6 deletions
|
|
@ -30,15 +30,9 @@ const (
|
||||||
installActionName = "install"
|
installActionName = "install"
|
||||||
updateActionName = "update"
|
updateActionName = "update"
|
||||||
initActionName = "init"
|
initActionName = "init"
|
||||||
basePath = ".jsonnetpkg"
|
|
||||||
srcDirName = "src"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
availableSubcommands = []string{
|
|
||||||
initActionName,
|
|
||||||
installActionName,
|
|
||||||
}
|
|
||||||
gitSSHRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git")
|
gitSSHRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git")
|
||||||
gitSSHWithVersionRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git@(.*)")
|
gitSSHWithVersionRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git@(.*)")
|
||||||
gitSSHWithPathRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git/(.*)")
|
gitSSHWithPathRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git/(.*)")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue