You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For file path ./dir/file, if I already have been granted read permission for dir, how can I get the absolute path for file without needing further permissions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For file path
./dir/file, if I already have been grantedreadpermission fordir, how can I get the absolute path forfilewithout needing further permissions?Deno.realPathandpath.resolverequirereadfor<CWD>. Is there another way?Ex: If I use
Deno.watchFs("./dir/file", { recursive: false }), then the paths in the events are absolute paths for the file. (Is this a leak?)Beta Was this translation helpful? Give feedback.
All reactions