| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
MODULE = Git::Raw PACKAGE = Git::Raw::Mempack |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
BOOT: |
|
4
|
|
|
|
|
|
|
{ |
|
5
|
87
|
|
|
|
|
|
AV *isa = get_av("Git::Raw::Mempack::ISA", 1); |
|
6
|
87
|
|
|
|
|
|
av_push(isa, newSVpv("Git::Raw::Odb::Backend", 0)); |
|
7
|
|
|
|
|
|
|
} |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Mempack |
|
10
|
|
|
|
|
|
|
new(class) |
|
11
|
|
|
|
|
|
|
SV *class |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
PREINIT: |
|
14
|
|
|
|
|
|
|
int rc; |
|
15
|
|
|
|
|
|
|
Odb_Backend backend; |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
CODE: |
|
18
|
1
|
|
|
|
|
|
rc = git_mempack_new(&backend); |
|
19
|
1
|
|
|
|
|
|
git_check_error(rc); |
|
20
|
|
|
|
|
|
|
|
|
21
|
1
|
|
|
|
|
|
RETVAL = backend; |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
OUTPUT: RETVAL |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
SV * |
|
26
|
|
|
|
|
|
|
dump(self, repo) |
|
27
|
|
|
|
|
|
|
Odb_Backend self |
|
28
|
|
|
|
|
|
|
Repository repo |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
PREINIT: |
|
31
|
|
|
|
|
|
|
int rc; |
|
32
|
3
|
|
|
|
|
|
git_buf buf = GIT_BUF_INIT_CONST(NULL, 0); |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
CODE: |
|
35
|
3
|
|
|
|
|
|
rc = git_mempack_dump(&buf, repo -> repository, |
|
36
|
|
|
|
|
|
|
self); |
|
37
|
3
|
|
|
|
|
|
git_check_error(rc); |
|
38
|
|
|
|
|
|
|
|
|
39
|
3
|
|
|
|
|
|
RETVAL = newSVpv(buf.ptr, buf.size); |
|
40
|
|
|
|
|
|
|
|
|
41
|
3
|
|
|
|
|
|
git_buf_dispose(&buf); |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
OUTPUT: RETVAL |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
void |
|
46
|
|
|
|
|
|
|
reset(self) |
|
47
|
|
|
|
|
|
|
Odb_Backend self |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
CODE: |
|
50
|
1
|
|
|
|
|
|
git_mempack_reset(self); |
|
51
|
|
|
|
|
|
|
|