Rework caching_paged_reader into Table[T]

This *should* fix some issues with extraction due to race conditions
This commit is contained in:
Caleb Gardner
2025-06-06 15:37:48 -05:00
parent b2c8084f41
commit ddb81aade0
5 changed files with 202 additions and 291 deletions
+2 -2
View File
@@ -77,7 +77,7 @@ func TestReader(t *testing.T) {
path := filepath.Join(tmpDir, "extractTest")
os.RemoveAll(path)
os.MkdirAll(path, 0777)
err = extractToDir(rdr, &rdr.Root.FileBase, path)
err = extractToDir(rdr, rdr.Root.FileBase, path)
if err != nil {
t.Fatal(err)
}
@@ -103,7 +103,7 @@ func TestSingleFile(t *testing.T) {
if err != nil {
t.Fatal(err)
}
err = extractToDir(rdr, &b, path)
err = extractToDir(rdr, b, path)
if err != nil {
t.Fatal(err)
}