You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error handling has been abbreviated as well as directory creation, but both are there in my code.
Once I try to write the files in https://github.com/raspberrypi/firmware/tree/master/boot/overlays (219 entries) to /overlays the code does not report any errors, however only the first ~50-ish files are properly written. Files that are supposedly written later, but to a different directory, are still written correctly.
IMHO this is particularly bad because both fs.OpenFile and dest.Write fail silently, so the caller/user will just notice this much after the program has executed.
The text was updated successfully, but these errors were encountered:
I'm trying to write a program that formats an SD card and writes the contents of https://github.com/raspberrypi/firmware/tree/master/boot/ to it. The core of the code is:
Error handling has been abbreviated as well as directory creation, but both are there in my code.
Once I try to write the files in https://github.com/raspberrypi/firmware/tree/master/boot/overlays (219 entries) to /overlays the code does not report any errors, however only the first ~50-ish files are properly written. Files that are supposedly written later, but to a different directory, are still written correctly.
IMHO this is particularly bad because both
fs.OpenFile
anddest.Write
fail silently, so the caller/user will just notice this much after the program has executed.The text was updated successfully, but these errors were encountered: