Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SparseTree
- newtype Linearization = NonLinear SparseTree
- linearize :: SparseTree -> Either Linearization Path
- cIDs :: (Monoid (f CID), Applicative f) => SparseTree -> f CID
Documentation
data SparseTree Source #
Directory structure for CIDs and other identifiers
Examples:
Content "abcdef"
show $ Directory [(Key "abcdef", Stub "myfile.txt")])]
"abcdef/myfile.txt"
Instances
newtype Linearization Source #
Instances
cIDs :: (Monoid (f CID), Applicative f) => SparseTree -> f CID Source #
Get all CIDs from a SparseTree
(all levels)