MCPcopy
hub / github.com/flipped-aurora/gin-vue-admin / Parse

Method Parse

server/utils/ast/import.go:19–21  ·  view source on GitHub ↗
(filename string, writer io.Writer)

Source from the content-addressed store, hash-verified

17}
18
19func (a *Import) Parse(filename string, writer io.Writer) (file *ast.File, err error) {
20 return a.Base.Parse(filename, writer)
21}
22
23func (a *Import) Rollback(file *ast.File) error {
24 if a.ImportPath == "" {

Callers

nothing calls this directly

Calls 1

ParseMethod · 0.65

Tested by

no test coverage detected