mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 01:58:32 +00:00
filemode: introduce enum to ease use of attributes
This commit is contained in:
parent
b2be351aad
commit
d854d59e31
@ -175,6 +175,16 @@ typedef enum {
|
|||||||
GIT_RESET_MIXED = 2,
|
GIT_RESET_MIXED = 2,
|
||||||
} git_reset_type;
|
} git_reset_type;
|
||||||
|
|
||||||
|
/** Valid modes for index and tree entries. */
|
||||||
|
typedef enum {
|
||||||
|
GIT_FILEMODE_NEW = 0000000,
|
||||||
|
GIT_FILEMODE_TREE = 0040000,
|
||||||
|
GIT_FILEMODE_BLOB = 0100644,
|
||||||
|
GIT_FILEMODE_BLOB_EXECUTABLE = 0100755,
|
||||||
|
GIT_FILEMODE_LINK = 0120000,
|
||||||
|
GIT_FILEMODE_COMMIT = 0160000,
|
||||||
|
} git_filemode_t;
|
||||||
|
|
||||||
typedef struct git_refspec git_refspec;
|
typedef struct git_refspec git_refspec;
|
||||||
typedef struct git_remote git_remote;
|
typedef struct git_remote git_remote;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user