Closed smola closed 5 years ago
As a note, we also added the helper to properly extract import paths for any language. We will ensure this function works even if UAST structure changes.
It may be a good idea to add this helper as a UDF for Gitbase.
Will be taken care of as part of https://github.com/src-d/gitbase/issues/936
It was deleted until we implement something more convenient, such as the helpers pointed out by Dennis.
Shall we close the issue or keep it open until a replacement for getting imports is implemented?
Maybe we can close this and open another to implement special bblfsh functions as UDFs, like that one that is extracting imports in the same way in any lang.
Closing in favor of #943
This is no longer valid with latest bblfsh version:
https://docs.sourced.tech/gitbase/using-gitbase/examples#extract-all-import-paths-for-every-go-file-on-head-reference
//uast:Import/Path
is still valid for Go, but theUAST_EXTRACT(..., "Value")
part no longer applies (thanks @bzz for helping me understanding this)More info: