Add basic infrastructure to assign attributes to paths
[git/git.git] / attr.h
CommitLineData
d0bfd026
JH
1#ifndef ATTR_H
2#define ATTR_H
3
4/* An attribute is a pointer to this opaque structure */
5struct git_attr;
6
7struct git_attr *git_attr(const char *, int);
8
9struct git_attr_check {
10 struct git_attr *attr;
11 int isset;
12};
13
14int git_checkattr(const char *path, int, struct git_attr_check *);
15
16#endif /* ATTR_H */