lune icon indicating copy to clipboard operation
lune copied to clipboard

metadata does not read symlinks correctly

Open RuizuKun-Dev opened this issue 1 year ago • 2 comments

image

instead of .kind being "dir" it should be "symlink" according to the documentation since Core is a symlink to a directory

latest version of Lune 0.8.0 on Windows 10

RuizuKun-Dev avatar Jan 19 '24 02:01 RuizuKun-Dev

Is core a symlink to a directory? If so, it makes sense to return the kind as a dir.

CompeyDev avatar Jan 21 '24 05:01 CompeyDev

Update on this, I feel like lune should provide a readLink method in the @lune/fs, since usually most FS APIs do not provide information about symlinks unless explicitly requested (I believe to prevent accidental discrimination against symlinks).

CompeyDev avatar Feb 25 '24 10:02 CompeyDev