ishaan1013 / sandbox

A cloud-based code editing environment with an AI copilot and real-time collaboration
MIT License
1.29k stars 104 forks source link

Change file system source of truth #15

Open ishaan1013 opened 4 months ago

ishaan1013 commented 4 months ago

To-do before this issue: https://github.com/ishaan1013/sandbox/issues/14

The file system management right now is very awkward, since the source folder in the backend is not the source of truth (it should be).

Operations like creating a file through the UI works properly. But a touch or mkdir in the terminal will not reflect changes.

After initially getting files from Cloudflare, we need to use the local file system as the source of truth.