Skip to content

Commit 90dd081

Browse files
authored
docs: add is_vendor to functions (#850)
docs: add is_vendor to functions
2 parents 10a5e76 + e84c170 commit 90dd081

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/using-gitbase/functions.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ To make some common tasks easier for the user, there are some functions to inter
88
|:-------------|:-------------------------------------------------------------------------------------------------------------------------------|
99
|`is_remote(reference_name)bool`| check if the given reference name is from a remote one |
1010
|`is_tag(reference_name)bool`| check if the given reference name is a tag |
11+
|`is_vendor(file_path)bool`| check if the given file name is a vendored file |
1112
|`language(path, [blob])text`| gets the language of a file given its path and the optional content of the file |
1213
|`uast(blob, [lang, [xpath]]) blob`| returns a node array of UAST nodes in semantic mode |
1314
|`uast_mode(mode, blob, lang) blob`| returns a node array of UAST nodes specifying its language and mode (semantic, annotated or native) |

0 commit comments

Comments
 (0)