vcs-svn / repo_tree.hon commit push: flag updates that require force (8c5f6f7)
   1#ifndef REPO_TREE_H_
   2#define REPO_TREE_H_
   3
   4struct strbuf;
   5
   6#define REPO_MODE_DIR 0040000
   7#define REPO_MODE_BLB 0100644
   8#define REPO_MODE_EXE 0100755
   9#define REPO_MODE_LNK 0120000
  10
  11uint32_t next_blob_mark(void);
  12void repo_copy(uint32_t revision, const char *src, const char *dst);
  13void repo_add(const char *path, uint32_t mode, uint32_t blob_mark);
  14const char *repo_read_path(const char *path, uint32_t *mode_out);
  15void repo_delete(const char *path);
  16void repo_commit(uint32_t revision, const char *author,
  17                const struct strbuf *log, const char *uuid, const char *url,
  18                long unsigned timestamp);
  19void repo_diff(uint32_t r1, uint32_t r2);
  20void repo_init(void);
  21void repo_reset(void);
  22
  23#endif