MCPcopy Create free account
hub / github.com/codetainerapp/codetainer / GetSrcPath

Function GetSrcPath

Godeps/_workspace/src/github.com/Unknwon/com/path.go:41–61  ·  view source on GitHub ↗

GetSrcPath returns app. source code path. It only works when you have src. folder in GOPATH, it returns error not able to locate source folder path.

(importPath string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BenchmarkGetSrcPathFunction · 0.85

Calls 3

GetGOPATHsFunction · 0.85
IsExistFunction · 0.70
NewMethod · 0.65

Tested by 1

BenchmarkGetSrcPathFunction · 0.68