mod annotate;
mod generate;
mod parse;
mod prefix;
mod style;
pub use annotate::{annotate_file, annotate_file_with, format_file};
pub use generate::{generate, generate_with};
pub use parse::detect;
pub use prefix::{CopyrightNotice, CopyrightPrefix};
pub use style::{ResolvedStyle, detect_style, detect_style_with};
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Header {
pub copyrights: Vec<String>,
pub license_expression: Option<String>,
pub invalid_expressions: Vec<String>,
pub contributors: Vec<String>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum CommentStyle {
Slash,
Hash,
Dash,
Semicolon,
Percent,
AsteriskParen,
SlashStar,
DotDot,
Bang,
Rem,
Html,
Uncommentable,
Custom(u16),
}