You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/gitbase/command/server.go
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,13 @@ const (
35
35
36
36
// Server represents the `server` command of gitbase cli tool.
37
37
typeServerstruct {
38
-
Verbosebool`short:"v" description:"Activates the verbose mode"`
38
+
engine*sqle.Engine
39
+
pool*gitbase.RepositoryPool
40
+
namestring
41
+
42
+
Versionstring// Version of the application.
39
43
Directories []string`short:"d" long:"directories" description:"Path where the git repositories are located (standard and siva), multiple directories can be defined. Accepts globs."`
40
44
Depthint`long:"depth" default:"1000" description:"load repositories looking at less than <depth> nested subdirectories."`
41
-
DisableGitbool`long:"no-git" description:"disable the load of git standard repositories."`
42
-
DisableSivabool`long:"no-siva" description:"disable the load of siva files."`
43
45
Hoststring`long:"host" default:"localhost" description:"Host where the server is going to listen"`
44
46
Portint`short:"p" long:"port" default:"3306" description:"Port where the server is going to listen"`
45
47
Userstring`short:"u" long:"user" default:"root" description:"User name used for connection"`
@@ -49,14 +51,11 @@ type Server struct {
49
51
DisableSquashbool`long:"no-squash" description:"Disables the table squashing."`
ReadOnlybool`short:"r" long:"readonly" description:"Only allow read queries. This disables creating and deleting indexes as well." env:"GITBASE_READONLY"`
52
-
// SkipGitErrors disables failing when Git errors are found.
53
-
SkipGitErrorsbool
54
-
// Version of the application.
55
-
Versionstring
56
54
57
-
engine*sqle.Engine
58
-
pool*gitbase.RepositoryPool
59
-
namestring
55
+
SkipGitErrorsbool// SkipGitErrors disables failing when Git errors are found.
56
+
DisableGitbool`long:"no-git" description:"disable the load of git standard repositories."`
57
+
DisableSivabool`long:"no-siva" description:"disable the load of siva files."`
58
+
Verbosebool`short:"v" description:"Activates the verbose mode"`
Copy file name to clipboardExpand all lines: docs/using-gitbase/functions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,4 +14,4 @@ To make some common tasks easier for the user, there are some functions to inter
14
14
15
15
## Standard functions
16
16
17
-
You can check standard functions in [`go-mysql-server` documentation](https://github.com/src-d/go-mysql-server/tree/eff16b2a86be40cb6bf6ef35801ab1eb283fd983#custom-functions).
17
+
You can check standard functions in [`go-mysql-server` documentation](https://github.com/src-d/go-mysql-server/tree/090a17d38c22a28eccf631f400c11704f65bb6ce#custom-functions).
To see the SQL subset currently supported take a look at [this list](https://github.com/src-d/go-mysql-server/blob/eff16b2a86be40cb6bf6ef35801ab1eb283fd983/SUPPORTED.md) from [src-d/go-mysql-server](https://github.com/src-d/go-mysql-server).
3
+
To see the SQL subset currently supported take a look at [this list](https://github.com/src-d/go-mysql-server/blob/090a17d38c22a28eccf631f400c11704f65bb6ce/SUPPORTED.md) from [src-d/go-mysql-server](https://github.com/src-d/go-mysql-server).
0 commit comments