Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cocos/cocos-engine
/ normalizePath
Function
normalizePath
scripts/build-adapter.js:88–90 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
86
}
87
88
function
normalizePath (path) {
89
return
path.replace(/\\/g,
'/'
);
90
}
91
92
/**
93
* Create bundle task
Callers
8
bundleNativeAdapter
Function · 0.70
bundleMinigameAdapter
Function · 0.70
bundleRuntimeAdapter
Function · 0.70
fullPathForFilename
Method · 0.50
getFullPathForDirectoryAndFilename
Method · 0.50
isFileExist
Method · 0.50
isDirectoryExist
Method · 0.50
getFileDir
Method · 0.50
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected