Changeset 187


Ignore:
Timestamp:
01/12/06 17:55:39 (18 years ago)
Author:
thauvin
Message:
  • add list_archive_from_status()
Location:
trunk/soft/ObsData
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/soft/ObsData/ObsData/Repository.pm

    • Property cvs2svn:cvs-rev changed from 1.66 to 1.67
    r185 r187  
    224224    } 
    225225    @files 
     226} 
     227 
     228=head3 list_archive_from_status() 
     229 
     230Return the list of archive currently registered in status file. 
     231 
     232=cut 
     233 
     234sub list_archive_from_status { 
     235    my ($self) = @_; 
     236 
     237    grep { $_ ne '.' } $self->{status}->Sections 
    226238} 
    227239 
Note: See TracChangeset for help on using the changeset viewer.