BoardStreams/Client/StructDiff.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 20 CC 2 SCAR 12.8
CC
2
Cov
0%
patch_state
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 package BoardStreams::Client::StructDiff;
2  
3 use Mojo::Base -strict, -signatures;
4  
5 use Struct::Diff 'patch';
6  
7 use Exporter 'import';
8 our @EXPORT_OK = qw/ patch_state /;
9  
10 our $VERSION = "v0.0.36";
11  
12 sub patch_state ($struct, $diff) {
13 patch($struct, $diff) if defined $diff;
14  
15 return $struct;
16 }
17  
18 1;