File Coverage

xs/Odb/Backend/Pack.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::Pack
2              
3             Odb_Backend
4             new(class, directory)
5             SV *class
6             SV *directory
7              
8             PREINIT:
9             int rc;
10             Odb_Backend backend;
11              
12             CODE:
13 1           rc = git_odb_backend_pack(&backend,
14             git_ensure_pv(directory, "directory"));
15 1           git_check_error(rc);
16              
17 1           RETVAL = backend;
18              
19             OUTPUT: RETVAL