sync-mht-0.3.7.0: Fast incremental file transfer using Merkle-Hash-Trees

Safe HaskellNone
LanguageHaskell2010

Sync.MerkleTree.Types

Synopsis

Documentation

data File Source

Information about a file that we expect to change, when the contents change.

Constructors

File 

data Entry Source

Instances

Eq Entry 
Ord Entry

Entries are sorted first according to their depth in the path which is useful for directory operations

Generic Entry 
Serialize Entry 
HasDigest Entry 
type Rep Entry 

data Path Source

Representation for paths below the synchronization root directory

Constructors

Root 
Path SerText Path 

toFilePath :: FilePath -> Path -> FilePath Source

Returns the string representation of a path

levelOf :: Entry -> Int Source

Return the depth of an entries path

data SerText Source

Constructors

SerText 

Fields

unSerText :: !Text