mvbasic
mvbasic copied to clipboard
[BUG] Inconsistent RestFS API
The RESTFS API has two different response formats for the 'dir' API command. In extension.ts
, the results from the 'dir' command are returned as an array in the 'Directories' property. In RestFS.ts
, the results from the 'dir' command are returned as an array in the 'Files' property.
When implementing a RestFS endpoint, how is the server to determine which response format to return? Should it return both 'Directories' and 'Files' properties, with identical content?
Extension version 1.85 (CHANGELOG.md)