Skip to main content

field_spec

Function field_spec 

Source
pub fn field_spec(field: &FieldSpec, all: bool, ctx: &Context) -> String
Expand description

One field: what it holds, whether it can be written, and what it accepts.

The last of those is the reason the command exists. --set is otherwise written blind and judged by Tracker, which answers with the field’s name in the organisation’s language and no hint of what it wanted instead.