Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ getText
Function
getText
packages/language-service/test/legacy/mock_host_spec.ts:170–173 ·
view source on GitHub ↗
(scriptInfo: ts.server.ScriptInfo)
Source
from the content-addressed store, hash-verified
168
});
169
170
function
getText(scriptInfo: ts.server.ScriptInfo): string {
171
const
snapshot = scriptInfo.getSnapshot();
172
return
snapshot.getText(0, snapshot.getLength());
173
}
Callers
1
mock_host_spec.ts
File · 0.70
Calls
1
getText
Method · 0.80
Tested by
no test coverage detected