NAME

Nuvol::Role::Folder - Role for folders

SYNOPSIS

    my $folder  = $drive->item('path/to/folder/');

    $folder->make_path;
    $folder->remove_tree;

DESCRIPTION

Nuvol::Role::Folder is a folder role for items. It is automatically applied if an item is recognized as folder.

METHODS

make_path

    $folder = $folder->make_path;

Creates the folder hierarchy up to this folder.

remove_tree

    $folder = $folder->remove_tree;

Removes the folder and all the files and subfolders it contains.

SEE ALSO

Nuvol::Item, Nuvol::Role::File.