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




data SuperBlockState Source

Describes the three states a superblock can be in.

bitsToSBStates :: [Bool] -> [SuperBlockState]Source

Converts a list of bits into the equivalent [SuperBlockState]. The input list length must be even, and the output list length will always be half that of the input list.

sbStatesToBits :: [SuperBlockState] -> [Bool]Source

Converts [SuperBlockState] into a list of bits. Dual of bitsToSBState.