This file is indexed.

/usr/share/perl5/Prophet/Web/FunctionResult.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
package Prophet::Web::FunctionResult;
use Any::Moose;

=head1 NAME

=head1 METHODS

=head1 DESCRIPTION

=cut

=head1 METHODS

=cut

has class => ( isa => 'Str', is => 'rw');
has function_name => ( isa => 'Str', is => 'rw');
has record_uuid => (isa => 'Str|Undef', is => 'rw');
has success => (isa => 'Bool', is => 'rw');
has message => (isa => 'Str', is => 'rw');

has result => (
             is        => 'rw',
             isa       => 'HashRef',
             default   => sub { {} },
);

sub exists { exists $_[0]->result->{$_[1]} }
sub items  { keys %{ $_[0]->result } }
sub get    { $_[0]->result>{$_[1]} }
sub set    { $_[0]->result->{$_[1]} = $_[2] }

__PACKAGE__->meta->make_immutable;
no Any::Moose;

1;