WildernessLabs / Meadow_Issues

Public repo for bugs and issues with Meadow
15 stars 0 forks source link

Can't delete files in the Data folder via the CLI #473

Open adrianstevens opened 7 months ago

adrianstevens commented 7 months ago

Meadow OS 1.8.1.7 (the first one) CLI v2.0.7

adrianstevens commented 7 months ago

@Peter-Moody is this by design?

Peter-Moody commented 7 months ago

Yes, the HCOM additions to support subdirectories was, "just enough" for Chris to develop the workbench project he had in mind. One other goal was to that the HCOM changes should be backward compatible with CLIv1, which was all we really had at the time.

So there is no ability to create or remove subdirectories. They are auto created when the user want to add files to a new directory and whenever a subdirectory has the last file deleted the directory is deleted too. If the now empty directory is below other empty directories, all are deleted, upward until a directory is reached which contains files.

adrianstevens commented 7 months ago

@Peter-Moody the issue I'm seeing is not being able to delete the files themselves in the data folder

The operation appears to compete but the files still show up when listing files. I don't see this issue with other folders.