MCPcopy Create free account
hub / github.com/SAP/ui5-builder / string

Method string

lib/lbt/resources/Resource.js:24–26  ·  view source on GitHub ↗

* @returns {Promise } String of the file content

()

Source from the content-addressed store, hash-verified

22 * @returns {Promise<string>} String of the file content
23 */
24 async string() {
25 return (await this.buffer()).toString();
26 }
27}
28
29export default Resource;

Callers 3

objectFunction · 0.80
JSTokenizer.jsFile · 0.80
Resource.jsFile · 0.80

Calls 2

bufferMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected