MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / urgency_annotations

Method urgency_annotations

src/Task.cpp:1871–1880  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

1869
1870////////////////////////////////////////////////////////////////////////////////
1871float Task::urgency_annotations() const {
1872 if (annotation_count >= 3)
1873 return 1.0;
1874 else if (annotation_count == 2)
1875 return 0.9;
1876 else if (annotation_count == 1)
1877 return 0.8;
1878
1879 return 0.0;
1880}
1881
1882////////////////////////////////////////////////////////////////////////////////
1883float Task::urgency_tags() const {

Callers 1

executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected