addCertsFromFilePath
Function parameters
Parameters
Functions in this namespace
Functions
Error sets in this namespace
Error Sets
Source
Implementation
pub fn addCertsFromFilePath(
cb: *Bundle,
gpa: Allocator,
dir: fs.Dir,
sub_file_path: []const u8,
) AddCertsFromFilePathError!void {
var file = try dir.openFile(sub_file_path, .{});
defer file.close();
return addCertsFromFile(cb, gpa, file);
}