NAME

SReview::Files::Access::direct - Direct file access

DESCRIPTION

The SReview::Files::Access::direct class implements access to files in collections that are stored directly on the filesystem, either on local partitions or mounted over a network filesystem such as NFS or sshfs. It is the default implementation of the SReview::Files::Access API.

It provides an implementation of the "store_file" in SReview::Files::Access::Base method that does not upload anything (as files are directly accessible), of the "delete" in SReview::Files::Access::Base method that calls unlink, and of the "valid_path_filename" in SReview::Files::Access::Base method that returns the value of the "url" in SReview::Files::Base property.

SEE ALSO

SReview::Files::Base, SReview::Files::Access::Base