Open
Description
Recently integrated littlefs support into my Zephyr-based application and was doing some crude tests.
I noticed that if I create a file:
`/mountpoint/file`
And then I pass
`/mountpoint/file/`
(note the trailing '/') to Zephyr's fs_stat
(which calls lfs_stat
), it will return information about the file. That seems incorrect -- the trailing '/' ought to require that the item be a directory.
The fs_open
(which calls lfs_open
) call DOES fail -- correctly in my opinion.