deb: first implementation
This commit is contained in:
@@ -123,7 +123,7 @@ fn increment_suffix(version: &str, suffix: &str) -> String {
|
||||
/*
|
||||
* Parse a changelog file first entry header, to obtain (package, version, series)
|
||||
*/
|
||||
fn parse_changelog_header(
|
||||
pub fn parse_changelog_header(
|
||||
path: &Path,
|
||||
) -> Result<(String, String, String), Box<dyn std::error::Error>> {
|
||||
let file = File::open(path)?;
|
||||
|
||||
Reference in New Issue
Block a user