sync-mht-0.3.8.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 Source 
Ord Entry Source

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

Generic Entry Source 
Serial Entry Source 
HasDigest Entry Source 
type Rep Entry Source 

data Path Source

Representation for paths below the synchronization root directory

Constructors

Root 
Path Text Path 

toFilePath :: FilePath -> Path -> FilePath Source

Returns the string representation of a path

levelOf :: Entry -> Int Source

Return the depth of an entries path