index.ts 226 B

12345678910
  1. export namespace File {
  2. const glob = new Bun.Glob("**/*")
  3. export async function search(path: string, query: string) {
  4. for await (const entry of glob.scan({
  5. cwd: path,
  6. onlyFiles: true,
  7. })) {
  8. }
  9. }
  10. }