vcs-svn / repo_tree.hon commit vcs-svn: drop treap (5db348d)
   1#ifndef REPO_TREE_H_
   2#define REPO_TREE_H_
   3
   4#include "git-compat-util.h"
   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);
  15uint32_t repo_read_mode(const char *path);
  16void repo_delete(const char *path);
  17void repo_commit(uint32_t revision, const char *author,
  18                char *log, const char *uuid, const char *url,
  19                long unsigned timestamp);
  20void repo_diff(uint32_t r1, uint32_t r2);
  21void repo_init(void);
  22void repo_reset(void);
  23
  24#endif