/usr/share/perl5/Prophet/ConflictingPropChange.pm is in libprophet-perl 0.750-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | package Prophet::ConflictingPropChange;
use Any::Moose;
has name => (
is => 'rw',
isa => 'Str',
);
has source_old_value => (
is => 'rw',
isa => 'Str|Undef',
);
has target_value => (
is => 'rw',
isa => 'Str|Undef',
);
has source_new_value => (
is => 'rw',
isa => 'Str|Undef',
);
=head1 NAME
Prophet::ConflictingPropChange
=head1 DESCRIPTION
Objects of this class describe a case when the a property change can not be cleanly applied to a replica because the old value for the property locally did not match the "begin state" of the change being applied.
=head1 METHODS
=head2 name
The property name for the conflict in question
=head2 source_old_value
The inital (old) state from the change being merged in
=head2 source_new_value
The final (new) state of the property from the change being merged in.
=head2 target_value
The current target-replica value of the property being merged.
=cut
sub as_hash {
my $self = shift;
my $hashref = {};
for (qw(name source_old_value target_value source_new_value)) {
$hashref->{$_} = $self->$_
}
return $hashref;
}
__PACKAGE__->meta->make_immutable;
no Any::Moose;
1;
|