Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ampproject/amphtml
/ toPosix
Function
toPosix
build-system/common/utils.js:82–82 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
80
return
[];
81
}
82
const
toPosix = (str) => str.replace(/\\\\?/g,
'/'
);
83
const
globs = Array.isArray(argv.files) ? argv.files : argv.files.split(
','
);
84
const
allFiles = [];
85
for
(
const
glob of globs) {
Callers
1
getFilesFromArgv
Function · 0.70
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected