|
Storage.Hashed.AnchoredPath |
|
|
|
|
Description |
This module implements relative paths within a Tree. All paths are
anchored at a certain root (this is usually the Tree root). They are
represented by a list of Names (these are just strict bytestrings).
|
|
Synopsis |
|
|
|
Documentation |
|
|
Constructors | | Instances | |
|
|
|
Constructors | | Instances | |
|
|
|
Append an element to the end of a path.
|
|
|
Take a root directory and an anchored path and produce a full
FilePath. Moreover, you can use anchorPath "" to get a relative
FilePath.
|
|
|
Check whether a path is a prefix of another path.
|
|
|
Get parent (path) of a given path. foobarbaz -> foo/bar
|
|
|
List all parents of a given path. foobarbaz -> [foo, foo/bar]
|
|
|
Catenate two paths together. Not very safe, but sometimes useful
(e.g. when you are representing paths relative to a different point than a
Tree root).
|
|
|
|
|
|
Unsafe functions.
|
|
|
Unsafe.
|
|
|
Unsafe.
|
|
|
|
Produced by Haddock version 2.4.2 |