MCPcopy
hub / github.com/esm-dev/esm.sh / Path

Method Path

server/build.go:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func (ctx *BuildContext) Path() string {
91 if ctx.path != "" {
92 return ctx.path
93 }
94
95 ctx.buildPath()
96 return ctx.path
97}
98
99func (ctx *BuildContext) Exists() (meta *BuildMeta, ok bool, err error) {
100 key := ctx.Path()

Callers 10

esmRouterFunction · 0.95
ExistsMethod · 0.95
BuildMethod · 0.95
buildModuleMethod · 0.95
resolveExternalModuleMethod · 0.95
getSavePathMethod · 0.95
transformDTSFunction · 0.95
AddMethod · 0.80
SnapshotMethod · 0.80
runMethod · 0.80

Calls 1

buildPathMethod · 0.95

Tested by

no test coverage detected