MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / _readSourceCode

Method _readSourceCode

packager/src/node-haste/Module.js:188–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 }
187
188 _readSourceCode(): string {
189 if (this._sourceCode == null) {
190 this._sourceCode = fs.readFileSync(this.path, 'utf8');
191 }
192 return this._sourceCode;
193 }
194
195 _readDocBlock(): DocBlock {
196 if (this._docBlock == null) {

Callers 2

_readDocBlockMethod · 0.95
_getCachePropsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected