Portability | portable |
---|---|
Stability | experimental |
Maintainer | Stefan Schmidt (stefanschmidt@web.de) |
Version : 0.1
Implementation of the storage class. The FileStorage saves each file in a single physical file. The metadata of the files is hold in an extra directory an saved on disk.
- data FileStorage
- newFileStorage :: FilePath -> FilePath -> FileStorage
datatypes
data FileStorage Source
The filestorage datatype. Every file is physically saved in one file on the harddisk
Show FileStorage | |
Storage FileStorage | deriving FileStorage from the class Storage |
storage initialisation
:: FilePath | the path of the filestorage on disk |
-> FilePath | the name of the directory file |
-> FileStorage |
Create a new filestorage, which is empty an contains no files