MCPcopy Index your code
hub / github.com/bytebase/bytebase / GetPostgresSocketDir

Function GetPostgresSocketDir

backend/common/util.go:72–74  ·  view source on GitHub ↗

GetPostgresSocketDir returns the postgres socket directory of Bytebase.

()

Source from the content-addressed store, hash-verified

70
71// GetPostgresSocketDir returns the postgres socket directory of Bytebase.
72func GetPostgresSocketDir() string {
73 return "/tmp"
74}
75
76// TruncateString truncates the string to have a maximum length of `limit` characters.
77func TruncateString(str string, limit int) (string, bool) {

Callers 5

StartMetadataInstanceFunction · 0.92
startFunction · 0.92
setupSampleInstanceFunction · 0.92
generateInstanceMethod · 0.92
NewServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected