7 #define REPO_MODE_DIR 0040000
8 #define REPO_MODE_BLB 0100644
9 #define REPO_MODE_EXE 0100755
10 #define REPO_MODE_LNK 0120000
12 #define REPO_MAX_PATH_LEN 4096
14 uint32_t repo_copy(uint32_t revision
, char *src
, char *dst
);
16 void repo_add(char *path
, uint32_t mode
, uint32_t blob_mark
);
18 uint32_t repo_replace(char *path
, uint32_t blob_mark
);
20 void repo_modify(char *path
, uint32_t mode
, uint32_t blob_mark
);
22 void repo_delete(char *path
);
24 void repo_commit(uint32_t revision
, char * author
, char * log
, char * uuid
,
25 char * url
, time_t timestamp
);
27 void repo_diff(uint32_t r1
, uint32_t r2
);