Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/galacean/engine
/ _encodePathComponents
Method
_encodePathComponents
packages/core/src/Utils.ts:271–273 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
269
}
270
271
private static _encodePathComponents(path: string): string {
272
return
path.split(
"/"
).map(encodeURIComponent).join(
"/"
);
273
}
274
}
275
276
const
charCodeOfDot =
"."
.charCodeAt(0);
Callers
1
resolveAbsoluteUrl
Method · 0.95
Calls
1
map
Method · 0.80
Tested by
no test coverage detected