diff options
-rw-r--r-- | lib/ManaTools/Shared/disk_backend/FileSystem.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/ManaTools/Shared/disk_backend/FileSystem.pm b/lib/ManaTools/Shared/disk_backend/FileSystem.pm index b7b58305..682e3a9f 100644 --- a/lib/ManaTools/Shared/disk_backend/FileSystem.pm +++ b/lib/ManaTools/Shared/disk_backend/FileSystem.pm @@ -123,4 +123,24 @@ 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', + required => 1, +); + +has 'path' => ( + is => 'rw', + isa => 'Str', + required => 1, +); + 1; |