streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Ensure a "/" is appended to dir types paths when reading using readdir

Open harendra-kumar opened this issue 7 months ago • 1 comments

This way we can always use extendDir API to append paths more safely as we know all system generated dir paths are going to have "/" appended to them.

harendra-kumar avatar May 16 '25 14:05 harendra-kumar

If we have to append "/" consistently across filesystems then we will have to fallback to stat when the type info is not available as a result of readdir syscall itself. This can be controlled via a flag. We can introduce this flag in the next release as well.

harendra-kumar avatar Jun 24 '25 14:06 harendra-kumar