libgit2

git_tree_entry_filemode_raw

Version:

Get the raw UNIX file attributes of a tree entry

This function does not perform any normalization and is only useful if you need to be able to recreate the original tree object.

Signature

git_filemode_t git_tree_entry_filemode_raw(const git_tree_entry *entry);

Parameters

In
entry

a tree entry

Returns

filemode as an integer

Versions