Holumbus-Storage-0.1.0: a distributed storage system

Portabilityportable
Stabilityexperimental
MaintainerStefan Schmidt (stefanschmidt@web.de)

Holumbus.FileSystem.Storage.FileStorage

Contents

Description

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.

Synopsis

datatypes

data FileStorage Source

The filestorage datatype. Every file is physically saved in one file on the harddisk

Instances

Show FileStorage 
Storage FileStorage

deriving FileStorage from the class Storage

storage initialisation

newFileStorageSource

Arguments

:: 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