netsurf: remove documentHTMLParseFromFile

This commit is contained in:
Pierre Tachoire
2024-01-09 11:35:18 +01:00
parent cc3a7ec4a1
commit 5496e68a02
5 changed files with 4 additions and 10 deletions

View File

@@ -1393,12 +1393,6 @@ fn parserErr(err: HubbubErr) ParserError!void {
};
}
// documentHTMLParseFromFile parses the given HTML file.
// The caller is responsible for closing the document.
pub fn documentHTMLParseFromFile(file: std.fs.File) !*DocumentHTML {
return try documentHTMLParse(file.reader());
}
// documentHTMLParseFromStr parses the given HTML string.
// The caller is responsible for closing the document.
pub fn documentHTMLParseFromStr(str: []const u8) !*DocumentHTML {