Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/callstack/react-native-paper
/ transformContent
Function
transformContent
scripts/generate-ts-tests.js:12–17 ·
view source on GitHub ↗
(content)
Source
from the content-addressed store, hash-verified
10
const
TS_TEST_EXT =
'.test.tsx'
;
11
12
const
transformContent = (content) =>
13
content
14
.replace(
"'react-native-paper'"
,
"'..'"
)
15
.split(
'\n'
)
16
.map((e) => e.slice(3))
17
.join(
'\n'
);
18
19
const
getFiles = () =>
20
glob
Callers
1
getFiles
Function · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…