Scroll to navigation

Lucy::Store::RAMFolder(3pm) User Contributed Perl Documentation Lucy::Store::RAMFolder(3pm)

NAME

Lucy::Store::RAMFolder - In-memory Folder implementation.

SYNOPSIS

    my $folder = Lucy::Store::RAMFolder->new;
    
    # or sometimes...
    my $folder = Lucy::Store::RAMFolder->new(
        path => $relative_path,
    );

DESCRIPTION

RAMFolder is an entirely in-memory implementation of Lucy::Store::Folder, primarily used for testing and development.

CONSTRUCTORS

new( [labeled params] )

    my $folder = Lucy::Store::RAMFolder->new(
        path => $relative_path,   # default: empty string
    );
path - Relative path, used for subfolders.

INHERITANCE

Lucy::Store::RAMFolder isa Lucy::Store::Folder isa Lucy::Object::Obj.

2017-08-02 perl v5.26.0