avsa242 / sdfat-spin

FAT-fs on SD implementation for the P8X32A/Propeller, P2X8C4M64P/Propeller 2
Other
0 stars 0 forks source link

fdelete(): operate directly on directory entries #31

Open avsa242 opened 6 months ago

avsa242 commented 6 months ago

Currently, the file is fopen()'d to read/use its metadata to mark it for deletion. Rewrite it so it operates directly on the directory entries. This will also mean a check has to be added to make sure the file being deleted isn't the currently open file.

avsa242 commented 6 months ago

This is implemented but not thoroughly tested.