Skip to main content

link_types

Function link_types 

Source
pub fn link_types(types: &[LinkType], ctx: &Context) -> String
Expand description

The kinds of link, one row per direction you could write.

The point of the command is that there are two vocabularies here and they are not the same list. WRITE is what issue link add takes; TYPE is the id Tracker files the link under and answers reads with. Writing a type id — depends instead of depends on — is refused, and it is the mistake this tool’s own help shipped for several releases.

A direction with no write name is printed with a dash rather than dropped: cloners is a real type, links of it come back from reads, and no relationship in the write vocabulary produces one. Hiding the row would say the type does not exist.