mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-31 09:29:42 +00:00
switch to single file cache
This commit is contained in:
6
src/network/cache/Cache.zig
vendored
6
src/network/cache/Cache.zig
vendored
@@ -137,7 +137,11 @@ pub const CacheRequest = struct {
|
||||
|
||||
pub const CachedData = union(enum) {
|
||||
buffer: []const u8,
|
||||
file: std.fs.File,
|
||||
file: struct {
|
||||
file: std.fs.File,
|
||||
offset: usize,
|
||||
len: usize,
|
||||
},
|
||||
};
|
||||
|
||||
pub const CachedResponse = struct {
|
||||
|
||||
Reference in New Issue
Block a user