forked from haiwen/seafile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatus.h
28 lines (21 loc) · 794 Bytes
/
status.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef STATUS_H
#define STATUS_H
#include <glib.h>
#include "repo-mgr.h"
#include "index/index.h"
#include "diff-simple.h"
typedef gboolean (*IgnoreFunc) (const char *basepath, const char *filename, void *data);
void
wt_status_collect_changes_worktree(struct index_state *index,
GList **results,
const char *worktree);
void
wt_status_collect_untracked(struct index_state *index,
GList **results,
const char *worktree,
IgnoreFunc ignore_func);
void
wt_status_collect_changes_index (struct index_state *index,
GList **results,
SeafRepo *repo);
#endif /* STATUS_H */