mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-31 01:28:55 +00:00
remove unused cache method on fs cache
This commit is contained in:
4
src/network/cache/FsCache.zig
vendored
4
src/network/cache/FsCache.zig
vendored
@@ -93,10 +93,6 @@ pub fn deinit(self: *FsCache) void {
|
|||||||
self.dir.close();
|
self.dir.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn cache(self: *FsCache) Cache {
|
|
||||||
return Cache.init(self);
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn get(self: *FsCache, arena: std.mem.Allocator, req: CacheRequest) ?Cache.CachedResponse {
|
pub fn get(self: *FsCache, arena: std.mem.Allocator, req: CacheRequest) ?Cache.CachedResponse {
|
||||||
const hashed_key = hashKey(req.url);
|
const hashed_key = hashKey(req.url);
|
||||||
const meta_p = metaPath(&hashed_key);
|
const meta_p = metaPath(&hashed_key);
|
||||||
|
|||||||
Reference in New Issue
Block a user