todod.dependency

Manage dependencies between Todos (identified by their uuid)

Members

Aliases

Dependencies
alias Dependencies = Link[]
Undocumented in source.

Functions

groupByChild
UUID[][UUID] groupByChild(Dependencies deps)

Group the parents in the dependencies by child.

isAChild
bool isAChild(Dependencies deps, UUID child)

Is given uuid a child of anyone

loadDependencies
Dependencies loadDependencies(GitRepo gr)
Undocumented in source. Be warned that the author may not have intended to support it.
removeUUID
Dependencies removeUUID(Dependencies deps, UUID theUUID)

Remove given uuid completely from the dependencies

toDependencies
Dependencies toDependencies(JSONValue json)
Undocumented in source. Be warned that the author may not have intended to support it.
toJSON
JSONValue toJSON(Link link)
Undocumented in source. Be warned that the author may not have intended to support it.
toJSON
JSONValue toJSON(T[] range)
Undocumented in source. Be warned that the author may not have intended to support it.
toLink
Link toLink(JSONValue json)
Undocumented in source. Be warned that the author may not have intended to support it.
writeDependencies
void writeDependencies(Dependencies deps, GitRepo gr)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Link
struct Link

Contains one link between child which depends on parent

Meta