towl 0.3.7

A fast CLI tool to scan codebases for TODO comments and output them in multiple formats
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::path::PathBuf;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum WriterError {
    #[error("IO error: {0}")]
    IoError(#[from] std::io::Error),
    #[error("Path traversal detected in output path: {0}")]
    PathTraversal(PathBuf),
    #[error("Output path {resolved} escapes working directory {cwd}")]
    OutputOutsideCwd { resolved: PathBuf, cwd: PathBuf },
}