rusty-todo-md 1.0.0

A multi-language TODO comment extractor for source code files.
Documentation
1
2
3
4
5
6
7
8
9
use std::path::Path;

pub use crate::todo_extractor_internal::aggregator::{
    extract_marked_items, MarkedItem, MarkerConfig,
};

pub fn extract_todos(file_path: &Path, content: &str) -> Vec<MarkedItem> {
    extract_marked_items(file_path, content, &MarkerConfig::default())
}