diff options
Diffstat (limited to 'attr.h')
-rw-r--r-- | attr.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/attr.h b/attr.h new file mode 100644 index 0000000000..1e5ab40694 --- /dev/null +++ b/attr.h @@ -0,0 +1,16 @@ +#ifndef ATTR_H +#define ATTR_H + +/* An attribute is a pointer to this opaque structure */ +struct git_attr; + +struct git_attr *git_attr(const char *, int); + +struct git_attr_check { + struct git_attr *attr; + int isset; +}; + +int git_checkattr(const char *path, int, struct git_attr_check *); + +#endif /* ATTR_H */ |