Brian Duggan > Data-Downloader-0.9902 > Data::Downloader::Repository

Download:
Data-Downloader-0.9902.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Data-Downloader-0.9907

NAME ^

Data::Downloader::Repository

DESCRIPTION ^

A repository is a collection of files managed by Data::Downloader which have a common root directory. Files within a given repository may come from various RSS feeds and/or url templates. They may be stored in multiple top-level subdirectories, which are referred to as "disks" (since in practice they may be located on different devices).

METHODS ^

save

Save a repository. Also rebuild the metadata view (in case that has changed).

download_all

Parameters :

    fake (boolean) -- fake the download.

Download all known files associated with this repository.

cache

Get a cache object for this repository. See Data::Downloader::Cache.

update_stats

Update the stats for this repository, e.g. the atimes, and any aggregate stats. Won't update the stats before a specified interval has elapsed.

Parameters :

    interval -- a Datetime::Duration object or "0" to force an update.
    defaults to one hour.
dump_stats

Print statistics about this repository to STDOUT.

SEE ALSO ^

Rose::DB::Object

"SCHEMA" in Data::Downloader

syntax highlighting: