blob: 640a2c697dd1a64af13edd6045ab890099efcf96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef LPASS_RLG2_H
#define LPASS_RLG2_H
#ifdef LIGBIT
#include <git2.h>
typedef enum {
GIT_ACTION_INSERT,
GIT_ACTION_GENERATE,
GIT_ACTION_EDIT,
GIT_ACTION_DELETE,
GIT_ACTION_MOVE
} git_action_t;
int lg2_open_repo(const char *path);
int lg2_close_repo();
int lg2_simple_action(git_action_t action, int is_overwrite, const char *path, const char *new_path);
#endif /* LIGBIT */
#endif /* LPASS_RLG2_H */
|