Struct todo_r::TodoR

source ·
pub struct TodoR { /* private fields */ }
Expand description

Parser for finding TODOs in comments and storing them on a per-file basis.

Implementations

Creates new TodoR that looks for provided keywords.

Returns the number of files currently tracked by TodoR

Returns all tracked files that contain TODOs

Returns all tracked files even if they have no TODOs

Opens file at given filepath and process it by finding all its TODOs.

Finds TODO comments in the given content

Prints TODOs to stdout.

Writes TODOs to out_buffer.

Writes TODOs to out_buffer.

Deletes TODO line from given filepath corresponding to the given index.

Deletes TODO line from given filepath corresponding to the given line.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.