Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Agelessbaby/BloomBlog
/ GetConcurrentPath
Function
GetConcurrentPath
util/env.go:16–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
)
15
16
func
GetConcurrentPath() string {
17
_, filename, _, _ := runtime.Caller(0)
18
return
path.Dir(filename)
//return the dir that the code currently runs on
19
}
20
21
const
(
22
TOKEN_EXPIRE = time.Hour * 24 * 7
Callers
1
env.go
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected