package
0.18.0-beta.1
Repository: https://github.com/bakerolls/gitbase.git
Documentation: pkg.go.dev

# Functions

NewIsRemote creates a new IsRemote function.
NewIsTag creates a new IsTag function.
NewLanguage creates a new Language UDF.
NewUAST creates a new UAST UDF.
NewUASTChildren creates a new UASTExtract UDF.
NewUASTExtract creates a new UASTExtract UDF.
NewUASTMode creates a new UASTMode UDF.
NewUASTXPath creates a new UASTXPath UDF.

# Variables

ErrMarshalUAST is returned when an error arises marshaling UASTs.
ErrParseBlob is returned when the blob can't be parsed with bblfsh.
ErrUnmarshalUAST is returned when an error arises unmarshaling UASTs.
Functions for gitbase queries.

# Structs

IsRemote checks the given string is a remote reference.
IsTag checks the given string is a tag name.
Language gets the language of a file given its path and the optional content of the file.
UAST returns an array of UAST nodes as blobs.
UASTChildren returns children from UAST nodes.
UASTExtract extracts keys from an UAST.
UASTMode returns an array of UAST nodes as blobs.
UASTXPath performs an XPath query over the given UAST nodes.