Package org.sonar.go.coverage
Class GoPathContext
java.lang.Object
org.sonar.go.coverage.GoPathContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
GoPathContext
-
-
Method Details
-
resolve
Try to resolve the absolute path of the given filePath. If filePath is absolute (start with _) return the absolute path without the '_'. If filePath is relative, try to append the first GOPATH entry where this file exists, otherwise return a non-existing absolute path using the first GOPATH entry (or just filePath itself if GOPATH is empty). SeeGoCoverSensor.findInputFile(String, FileSystem)
-