MCPcopy Create free account
hub / github.com/Binject/debug / AbsFile

Function AbsFile

goobj2/internal/objabi/objabi.go:535–560  ·  view source on GitHub ↗

AbsFile returns the absolute filename for file in the given directory, as rewritten by the rewrites argument. For unrewritten paths, AbsFile rewrites a leading $GOROOT prefix to the literal "$GOROOT". If the resulting path is the empty string, the result is "??". The rewrites argument is a ;-separa

(dir, file, rewrites string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

applyRewriteFunction · 0.85
hasPathPrefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…