1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
use super::AbsPath; /// Represents a scanned directory, with txtpp input files and subdirectories. #[derive(Debug)] pub struct Directory { /// txtpp input files pub files: Vec<AbsPath>, /// subdirectories pub subdirs: Vec<AbsPath>, } impl Directory { pub fn new() -> Self { Self { files: vec![], subdirs: vec![], } } }