MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / readlink

Function readlink

src/lib/libproxyfs.js:153–161  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

151 }
152 },
153 readlink(node) {
154 var path = PROXYFS.realPath(node);
155 try {
156 return node.mount.opts.fs.readlink(path);
157 } catch(e) {
158 if (!e.code) throw e;
159 throw new FS.ErrnoError(ERRNO_CODES[e.code]);
160 }
161 },
162 },
163 stream_ops: {
164 open(stream) {

Callers 2

libmemfs.jsFile · 0.70
libnodefs.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected