projects
/
reposerve
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed filenames returned by flist
[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_ */