Migrated setup_fh -> setup and moved lots of POD into the base class
[dbsrgits/DBM-Deep.git] / lib / DBM / Deep / Engine / Sector / Data.pm
CommitLineData
f0276afb 1package DBM::Deep::Engine::Sector::Data;
2
3use 5.006_000;
4
5use strict;
6use warnings FATAL => 'all';
7
8use base qw( DBM::Deep::Engine::Sector );
9
10# This is in bytes
11sub size { $_[0]{engine}->data_sector_size }
12sub free_meth { return '_add_free_data_sector' }
13
14sub clone {
15 my $self = shift;
16 return ref($self)->new({
17 engine => $self->engine,
18 type => $self->type,
19 data => $self->data,
20 });
21}
22
231;
24__END__