red-g / directory / Directory

An absolutely located directory containing a list of items.


type Directory

An absolutely located directory containing a list of items.

back : Directory -> Path.Directory

Get the parent directory of a Directory

decoder : Json.Decode.Decoder Directory

Decode a Directory from the following JSON schema:

{
    "path": <Path.Directory>,
    "members": <List Directory.Item>
}

items : Directory -> List Item

Get a List of Items in a Directory.

path : Directory -> Path.Directory

Get the path to a Directory.