vhd-0.1: Implementation of the Virtual Hard Disk (VHD) disk format

Data.VHD

Contents

Synopsis

Documentation

create :: FilePath -> CreateParameters -> IO ()Source

create an empty vhd with the specified parameters

getInfo :: FilePath -> IO (Either String (Header, Footer))Source

grab the header and footer from a vhd file.

block related operations

withBlock :: FilePath -> BlockSize -> Word32 -> (Block -> IO a) -> IO aSource

mmap a block using a filepath, a blocksize

ctx related operations

exported Types

newtype Cookie Source

Constructors

Cookie ByteString 

Instances

newtype UniqueId Source

Constructors

UniqueId ByteString 

Instances