NAME
Angerwhale::Model::Filesystem::Item - a filesystem item that knows how to attach other Item
s to itself
SYNOPSIS
METHODS
new( \%arguments )
Creates a new Filesystem::Item; but you probably want Filesystem::Item::Article
or Filesystem::Item::Comment
instead.
Arguments:
- base
-
[REQUIRED] The directory to read filesystem items from.
- location
-
[REQUIRED] The file used to back this Item. Must exist, and must be a regular file.
- parent
-
The object that this Item is attached to, if any.
name
Returns the filename of this Item.
compare
Sorting function. Sorts by reverse creation_time (newest first).