mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
1515e5ae4f9738fec192873bac8dbae22a1e1546
This changes how files work. There is now an open function that translates a path to a file handle (id). Then this handle is used to perform other actions on the file. The file contents are moved to a separate table so that the actual file storage is independent of the database (e.g. in the future, we may use File Access API). We store a hash of the file contents in the metadata file so we can detect file changes without having to compare file contents. We also separate the change and add actions.
pybricks-code
A Web App for programming LEGO® Powered Up smart hubs using Pybricks MicroPython.
Try it at https://code.pybricks.com or the latest updates https://beta.pybricks.com.
Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
For more details, see the file CONTRIBUTING.md.
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.
Languages
TypeScript
90%
JavaScript
7.6%
SCSS
2.1%
HTML
0.2%
Python
0.1%
