Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ clear
Function
clear
core/rollup/flatted.cjs:15–15 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
13
const
dest = join(__dirname,
".."
,
"src"
,
"stdlib"
,
"pyscript"
,
"flatted.py"
);
14
15
const
clear = (str) => String(str).replace(/^#.*/gm,
""
).trimStart();
16
17
writeFileSync(dest, flatted + clear(readFileSync(source)));
Callers
1
flatted.cjs
File · 0.70
Calls
1
trimStart
Method · 0.80
Tested by
no test coverage detected