MCPcopy
hub / github.com/meteor/meteor / resolveRelative

Method resolveRelative

tools/isobuild/resolver.ts:291–296  ·  view source on GitHub ↗
(id: string, absParentPath: string)

Source from the content-addressed store, hash-verified

289 }
290
291 private resolveRelative(id: string, absParentPath: string): Resolution {
292 if (id.charAt(0) === ".") {
293 return this.joinAndStat(absParentPath, "..", id);
294 }
295 return null;
296 }
297
298 private resolveNodeModule(id: string, absParentPath: string): Resolution {
299 if (! Resolver.isTopLevel(id)) {

Callers 1

resolveMethod · 0.95

Calls 1

joinAndStatMethod · 0.95

Tested by

no test coverage detected