NAME

Statocles::File - A wrapper for a file on the filesystem

VERSION

version 0.098

SYNOPSIS

    my $store = Statocles::Store->new( path => 'my/store' );
    my $file = Statocles::File->new(
        store => $store,
        path => 'file.txt', # my/store/file.txt
    );

DESCRIPTION

This class encapsulates the information for a file on the filesystem and provides methods to read the file.

ATTRIBUTES

store

The store that contains this file

path

The path to this file, relative to the store

fh

The file handle containing the contents of the page.

SEE ALSO

Statocles::Store, Statocles::Document

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Doug Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.