Changeset 18528 for gsdl/trunk/perllib/plugins/ArchivesInfPlugin.pm
- Timestamp:
- 2009-02-17T15:36:44+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/ArchivesInfPlugin.pm
r18509 r18528 32 32 33 33 use util; 34 use doc; 34 35 use PrintInfo; 35 36 use plugin; … … 173 174 } 174 175 175 # we don't do any file blocking176 176 sub file_block_read { 177 177 178 178 my $self = shift (@_); 179 179 my ($pluginfo, $base_dir, $file, $block_hash, $metadata, $gli) = @_; 180 181 if ($file eq "OIDcount") { 182 my ($filename_full_path, $filename_no_path) 183 = &util::get_full_filenames($base_dir, $file); 184 $block_hash->{'file_blocks'}->{$filename_full_path} = 1; 185 return 1; 186 } 187 188 # otherwise, we don't do any file blocking 180 189 181 190 return undef; … … 287 296 } 288 297 298 289 299 # wasn't an archives directory, someone else will have to process it 290 300 return undef;
Note:
See TracChangeset
for help on using the changeset viewer.