progress: treat "no terminal" as being in the foreground
[alt-git.git] / vcs-svn / repo_tree.h
blob889c6a3c954375ab167f8b77b9f9a64dd0ccc2aa
1 #ifndef REPO_TREE_H_
2 #define REPO_TREE_H_
4 struct strbuf;
6 #define REPO_MODE_DIR 0040000
7 #define REPO_MODE_BLB 0100644
8 #define REPO_MODE_EXE 0100755
9 #define REPO_MODE_LNK 0120000
11 uint32_t next_blob_mark(void);
12 void repo_copy(uint32_t revision, const char *src, const char *dst);
13 void repo_add(const char *path, uint32_t mode, uint32_t blob_mark);
14 const char *repo_read_path(const char *path, uint32_t *mode_out);
15 void repo_delete(const char *path);
16 void repo_commit(uint32_t revision, const char *author,
17 const struct strbuf *log, const char *uuid, const char *url,
18 long unsigned timestamp);
19 void repo_diff(uint32_t r1, uint32_t r2);
20 void repo_init(void);
21 void repo_reset(void);
23 #endif