HeyPuter / HeyPuter/puter-sh

Commands using `findMatchingFiles` is taking a long time

Open
#42 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
69
Forks
21
Avg merge
1h 27m
Merged PRs (30d)
1

Description

There are 2 commands that depends on this `findMatchingFiles`, which are `rm` and `pull`, and the command takes a long time to run because `findMatchingFiles` is recursively traversing our entire filesystem.

I'm not too sure if this is needed? but i may be missing context here.

Atleast my thinking was, both of these, either rm or pull, need absolute file that it wants to delete or pull (download), and doesn't need to recursively go through our fs

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.