I am using the Go bindings of libgit2 (git2go - documentation on godoc.org) and I wonder if it's possible to get the file mode (such as "100644") 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.