MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / readFileEntryData

Method readFileEntryData

helpers/scanner/scan.ts:227–231  ·  view source on GitHub ↗
( fileEntry: ScanFileEntry, Writer: new () => T = zip.TextWriter as new () => T )

Source from the content-addressed store, hash-verified

225 }
226
227 async readFileEntryData<T> ( fileEntry: ScanFileEntry, Writer: new () => T = zip.TextWriter as new () => T ) {
228 return await fileEntry.getData(
229 new Writer()
230 )
231 }
232
233 async loadFile (): Promise<ArrayBuffer | Blob | ScanFileLike> {
234 if ( typeof this.fileLoader !== 'function' ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected