This commit is contained in:
2026-06-24 20:21:29 +08:00
parent c38fb6ac4c
commit b7712d3d9d
2 changed files with 10 additions and 12 deletions
+3 -4
View File
@@ -85,10 +85,9 @@ class ScanManifest
return array_keys($this->entries);
}
return $this->entries
|> array_keys(...)
|> (fn($x) => array_filter($x, fn(string $path) => str_starts_with($path, $prefix)))
|> array_values(...);
$keys = array_keys($this->entries);
$filtered = array_filter($keys, fn(string $path) => str_starts_with($path, $prefix));
return array_values($filtered);
}