NAME

Fuse::Filesys::Virtual::FSWrapper - Filesys::Virtual wrapper

VERSION

Version 0.02

SYNOPSIS

Internal module for Fuse::Filesys::Virtual, provides some functions to Filesys::Virtual object.

use Fuse::Filesys::Virtual::FSWrapper;

my $fs = Filesys::Virtual::Foo->new();
my $wfs = Fuse::Filesys::Virtual::FSWrapper->new($fs);

...

$wfs->rename("/path/to/oldname", "path/to/newname");

EXPORT

Nothing.

FUNCTIONS

new

Wrap Filesys::Virtual object. wrapped object is returned.

rename (OLDNAME, NEWNAME)

rename oldname to newname

stat

Same as Filesys::Virtual::stat. (but nlink is corrected for directory.)