projects
/
reposerve
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fb2c977f3c3ab36803e5ef65d7d0985d2de70497
[reposerve]
/
server
/
src
/
repo.h
1
#ifndef REPO_H_
2
#define REPO_H_
3
4
#include <stdint.h>
5
6
struct repo_file {
7
char *path;
8
char *fullpath;
9
size_t size;
10
time_t mtime;
11
uint32_t chksum[4];
12
};
13
14
int repo_init(const char *path);
15
void repo_cleanup(void);
16
17
int repo_num_files(void);
18
struct repo_file *repo_file(int idx);
19
20
#endif /* REPO_H_ */