TPFS-0.1: Tagged plain file system in which a file can only have multiple tags and nothing more.

System.TPFS.Filesystem

Description

Functions for creation and initialization of filesystems.

Synopsis

Documentation

data Device m h => Filesystem m h Source

Contains all of the information necessary to access the filesystem.

Constructors

Filesystem 

Fields

fsHandle :: h
 
fsHeader :: Header
 

Instances

(Show h, Device m h) => Show (Filesystem m h) 

fsFromFileSource

Arguments

:: String

The path to the file containing the filesystem.

-> IO (Filesystem IO Handle)

The opened filesystem.

Opens a filesystem stored in a file.

newFSInFileSource

Arguments

:: Header

The filesystem header.

-> String

The path to the file that should contain the filesystem.

-> IO (Filesystem IO Handle)

The created filesystem.

Creates a new filesystem within a file.