todo-tree 1.1.0

A CLI tool to find and display TODO-style comments in your codebase
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! TODO items found in a single file.

use super::todo_item::TodoItem;
use serde::{Deserialize, Serialize};

/// TODO items found in a single file.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct FileResult {
    /// The file's path, as a display string.
    pub path: String,
    /// The TODO items found in the file.
    pub items: Vec<TodoItem>,
}