MCPcopy Create free account
hub / github.com/nsf/gocode / package_name

Function package_name

declcache.go:410–415  ·  view source on GitHub ↗
(file *ast.File)

Source from the content-addressed store, hash-verified

408}
409
410func package_name(file *ast.File) string {
411 if file.Name != nil {
412 return file.Name.Name
413 }
414 return ""
415}
416
417//-------------------------------------------------------------------------
418// decl_cache

Callers 1

process_dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected