Skip to content

Add support for querying attributes#528

Merged
jdavid merged 1 commit intolibgit2:masterfrom
carlosmn:attributes
May 22, 2015
Merged

Add support for querying attributes#528
jdavid merged 1 commit intolibgit2:masterfrom
carlosmn:attributes

Conversation

@carlosmn
Copy link
Member

Expose a method in the repository which allows querying an attribute for
a file and converts the result to the python equivalent.


I'm not completely sure about the name of the method, but the attributes are often called just 'attr' and git has 'git-check-attr'.

@jdavid
Copy link
Member

jdavid commented May 20, 2015

For a method or function I prefer to use verbs, it may be get_attr, very much like the libgit2 function it wraps git_attr_get.

Expose a method in the repository which allows querying an attribute for
a file and converts the result to the python equivalent.
@carlosmn
Copy link
Member Author

Done.

@jdavid jdavid merged commit 74b81bf into libgit2:master May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants