File Coverage

xs/Odb/Backend/OnePack.xs
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 3 3 100.0


line stmt bran cond sub pod time code
1             MODULE = Git::Raw PACKAGE = Git::Raw::Odb::Backend::OnePack
2              
3             Odb_Backend
4             new(class, indexfile)
5             SV *class
6             SV *indexfile
7              
8             PREINIT:
9             int rc;
10             Odb_Backend backend;
11              
12             CODE:
13 2           rc = git_odb_backend_one_pack(&backend,
14             git_ensure_pv(indexfile, "indexfile"));
15 2           git_check_error(rc);
16              
17 2           RETVAL = backend;
18              
19             OUTPUT: RETVAL