MCPcopy Create free account
hub / github.com/nsf/gocode / get_socket_filename

Function get_socket_filename

gocode.go:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21)
22
23func get_socket_filename() string {
24 user := os.Getenv("USER")
25 if user == "" {
26 user = "all"
27 }
28 return filepath.Join(os.TempDir(), fmt.Sprintf("gocode-daemon.%s", user))
29}
30
31func show_usage() {
32 fmt.Fprintf(os.Stderr,

Callers 2

do_serverFunction · 0.85
do_clientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected