line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package BioX::Workflow::Command::Utils::Files::TrackChanges; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
549
|
use Moose::Role; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
4
|
|
|
|
|
|
|
# use DBM::Deep; |
5
|
|
|
|
|
|
|
# use File::Spec; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
#TODO most of these should be in run |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# DBM::Deep and sqlite do not play nicely with Lustre file systems |
10
|
|
|
|
|
|
|
# Tabling this functionality for now |
11
|
|
|
|
|
|
|
# has 'track_files' => ( |
12
|
|
|
|
|
|
|
# is => 'rw', |
13
|
|
|
|
|
|
|
# isa => 'DBM::Deep', |
14
|
|
|
|
|
|
|
# lazy => 1, |
15
|
|
|
|
|
|
|
# default => sub { |
16
|
|
|
|
|
|
|
# my $self = shift; |
17
|
|
|
|
|
|
|
# my $file = File::Spec->catfile( $self->cache_dir, 'track_files.db' ); |
18
|
|
|
|
|
|
|
# my $db = DBM::Deep->new($file); |
19
|
|
|
|
|
|
|
# return $db; |
20
|
|
|
|
|
|
|
# }, |
21
|
|
|
|
|
|
|
# ); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |