DenoDDeno
Powered by
AmyA
Denoβ€’9mo agoβ€’
2 replies
Amy

How to get the path to the file from a deno_core op2?

I want to implement a subset of
fs
fs
in
op2
op2
, but I want it to be relative to the dir the file is in.

I can't find anything on
OpState
OpState
or
HandleScope
HandleScope
for that though. And right now,
import.meta.path
import.meta.path
is
undefined
undefined
, not sure how to fix that either
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

get file path from FsFile
alina 🌸Aalina 🌸 / help
2y ago
Deno land file path
syntasticSsyntastic / help
14mo ago
Deno Jupyter: get path to the current notebook
callmephilipCcallmephilip / help
15mo ago
How to get promise fulfilled result use deno_core?
HaibaraAiXHHaibaraAiX / help
17mo ago