diff options
author | Maarten Vanraes <alien@mageia.org> | 2016-07-21 16:19:41 +0200 |
---|---|---|
committer | Maarten Vanraes <alien@mageia.org> | 2016-07-21 16:19:41 +0200 |
commit | 1774a5cfb4dc04b5ff1e7be7955536998b1a96e4 (patch) | |
tree | c4afe491c4eff581c756cdb3b82030d1e33ffb18 /lib/ManaTools/Shared/disk_backend/FileSystem.pm | |
parent | c41ff5335b1bcf111faa88039ba0189bc4912424 (diff) | |
download | manatools-1774a5cfb4dc04b5ff1e7be7955536998b1a96e4.tar manatools-1774a5cfb4dc04b5ff1e7be7955536998b1a96e4.tar.gz manatools-1774a5cfb4dc04b5ff1e7be7955536998b1a96e4.tar.bz2 manatools-1774a5cfb4dc04b5ff1e7be7955536998b1a96e4.tar.xz manatools-1774a5cfb4dc04b5ff1e7be7955536998b1a96e4.zip |
remove IO subsystem
Diffstat (limited to 'lib/ManaTools/Shared/disk_backend/FileSystem.pm')
-rw-r--r-- | lib/ManaTools/Shared/disk_backend/FileSystem.pm | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/lib/ManaTools/Shared/disk_backend/FileSystem.pm b/lib/ManaTools/Shared/disk_backend/FileSystem.pm index 682e3a9f..3799686f 100644 --- a/lib/ManaTools/Shared/disk_backend/FileSystem.pm +++ b/lib/ManaTools/Shared/disk_backend/FileSystem.pm @@ -17,7 +17,6 @@ package ManaTools::Shared::disk_backend::FileSystem; ... my $f = Foo->new(); - my $in = $f->fsprobe($io); =head1 DESCRIPTION @@ -60,29 +59,6 @@ use Moose::Role; #============================================================= -=head2 fsprobe - -=head3 INPUT - - $io: ManaTools::Shared::disk_backend::IO - -=head3 OUTPUT - - ManaTools::Shared::disk_backend::IO or undef - -=head3 DESCRIPTION - - this method probes the IO to see if it fits for this - filesystem, if it does, create a new Part with this IO as in. - also create an IO (linked as the out) and return that one. - The resulting one can then be used as an in to eg: a Mount Part. - -=cut - -#============================================================= - -requires 'fsprobe'; - has 'fstypes' => ( is => 'ro', isa => 'ArrayRef[Str]', @@ -123,17 +99,13 @@ sub has_type { return 0; } -package ManaTools::Shared::disk_backend::IOFS; - -use Moose::Role; - package ManaTools::Shared::disk_backend::FileRole; use Moose::Role; has 'fs' => ( is => 'rw', - does => 'ManaTools::Shared::disk_backend::IOFS', + does => 'ManaTools::Shared::disk_backend::FileSystem', required => 1, ); |