MCPcopy
hub / github.com/di-sukharev/opencommit / text

Method text

out/cli.cjs:6009–6011  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6007 return this[TYPE];
6008 }
6009 text() {
6010 return Promise.resolve(this[BUFFER].toString());
6011 }
6012 arrayBuffer() {
6013 const buf = this[BUFFER];
6014 const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);

Callers

nothing calls this directly

Calls 3

consumeBlobPartsFunction · 0.85
toStringMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected