Supported file systems
Support for a file system is represented by a
FileManagerModule comes with 2 types of file repositories:
storage repositories that actual map file resources to an underlying storage provider like the local file system
special purpose repositories that enhance others with additional behaviors like caching, expiration…
Additionally to the storage providers, the following special purpose repositories are also available:
Wraps around another
FileRepositoryand adds expiration mechanics to the file resources returned. Mostly useful for temporary files that you want to be automatically removed by the application after a given time.
Wraps around a specific
FileRepositoryand creates a temporary cache version of every file resource, which it stores in another repository. Especially useful for file resources coming from a slow - usually remote -
FileRepositorythat you want to cache locally for a given time.
ExpiringFileRepositorywhich expires the original file resource, the
CachingFileRepositoryonly expires the cached version.
Adding support for another file system is done by implementing your own
See the separate section for more information.