MCPcopy Create free account
hub / github.com/deferpanic/goweave / reWriteFile

Method reWriteFile

weave/file.go:12–34  ·  view source on GitHub ↗

reWriteFile rewrites curfile with out && adds any missing imports

(curfile string, out string, importsNeeded []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

transformMethod · 0.95

Calls 2

addMissingImportsMethod · 0.95
reWorkImportsMethod · 0.95

Tested by

no test coverage detected