| 1 | package VFS::Filesystem; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use VFS::File; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 0 | ▶ | sub new { | ||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 7 | 0 | my $class = shift; | |||||||||
| 8 | 0 | ▶ | my $self = ($#_ == 0) ? { %{ (shift) } } : { @_ }; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 9 | 0 | return bless $self, $class; | |||||||||
| 10 | } | ||||||||||
| 11 | |||||||||||
| 12 | 0 | ▶ | sub open { | ||||||||
|
Subroutine
open: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 13 | 0 | my ($self, $path, $attr) = @_; | |||||||||
| 14 | 0 | return new VFS::File(); | |||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | sub remove { | ||||||||
|
Subroutine
remove: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 18 | 0 | my ($self, $path, $attr) = @_; | |||||||||
| 19 | 0 | return undef; | |||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 0 | ▶ | sub create { | ||||||||
|
Subroutine
create: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 23 | 0 | my ($self, $path, $attr) = @_; | |||||||||
| 24 | 0 | return new VFS::File(); | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | 0 | ▶ | sub link { | ||||||||
|
Subroutine
link: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 28 | 0 | return 1; | |||||||||
| 29 | } | ||||||||||
| 30 | |||||||||||
| 31 | 0 | ▶ | sub mount { | ||||||||
|
Subroutine
mount: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 32 | 0 | my ($self, $fs, $dir, $attr) = @_; | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 0 | ▶ | sub umount { | ||||||||
|
Subroutine
umount: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 36 | 0 | my ($self, $dir) = @_; | |||||||||
| 37 | } | ||||||||||
| 38 | |||||||||||
| 39 | =head1 NAME | ||||||||||
| 40 | |||||||||||
| 41 | VFS::Filesystem - A virtual filesystem layer for Perl | ||||||||||
| 42 | |||||||||||
| 43 | =head1 SYNOPSIS | ||||||||||
| 44 | |||||||||||
| 45 | Unimplemented. | ||||||||||
| 46 | |||||||||||
| 47 | =head1 DESCRIPTION | ||||||||||
| 48 | |||||||||||
| 49 | An implementation of a virtual file system in Perl. It will allow | ||||||||||
| 50 | creation, reading and writing of files, mounting of systems in other | ||||||||||
| 51 | systems, ... | ||||||||||
| 52 | |||||||||||
| 53 | =cut | ||||||||||
| 54 | |||||||||||
| 55 | 1 | 1; | |||||||||
| 56 | __END__; | ||||||||||