mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-30 17:25:58 -04:00
Config: drop local in hashed dir check
This commit is contained in:
@@ -89,15 +89,13 @@ pub fn isHashedDirectory(dir: []const u8) bool {
|
||||
var handle = std.fs.openDirAbsolute(dir, .{ .iterate = true }) catch return false;
|
||||
defer handle.close();
|
||||
|
||||
var hashed = false;
|
||||
var it = handle.iterate();
|
||||
while (it.next() catch return false) |entry| {
|
||||
if (std.mem.endsWith(u8, entry.name, ".0")) {
|
||||
hashed = true;
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return hashed;
|
||||
return false;
|
||||
}
|
||||
|
||||
fn caPathValidator(
|
||||
|
||||
Reference in New Issue
Block a user