libgit2 / git2go: How to get file permissions of a blob?
I am using the Go bindings of libgit2 (git2go - documentation on
godoc.org) and I wonder if it's possible to get the file permissions of a
blob.
Background: I'd like to resolve symbolic references and it seems that
symbolic links have a file mode of 120000 and the contents of the symlink
is the (relative) path of the original which I'd like to get.
No comments:
Post a Comment