red-g / directory / Directory.SubDirectory

A Directory located relative to its parent directory.


type alias SubDirectory =
Internal.SubDirectory

A Directory located relative to its parent directory. Unlike a Directory, a SubDirectory has no knowledge of its contents.

decoder : Json.Decode.Decoder SubDirectory

Decode a SubDirectory from the following JSON structure:

    {
        "name": string
    }

name : SubDirectory -> String

Get the name of a SubDirectory.