MCPcopy
hub / github.com/electerm/electerm / readFile

Method readFile

src/app/server/session-ftp.js:274–276  ·  view source on GitHub ↗
(remotePath, client)

Source from the content-addressed store, hash-verified

272 }
273
274 async readFile (remotePath, client) {
275 return this.withOperationClient(currentClient => readRemoteFile(currentClient, remotePath), client)
276 }
277
278 async writeFile (remotePath, str, mode, client) {
279 return this.withOperationClient(currentClient => {

Callers 15

ftp.spec.jsFile · 0.45
_runBatchOpFromFileMethod · 0.45
beforeUploadFunction · 0.45
commonBeforeUploadFunction · 0.45
KeywordsTransportClass · 0.45
bookmark-upload.jsFile · 0.45
QmTransportClass · 0.45
FileSectionClass · 0.45
sync.jsFile · 0.45
mcp-handler.jsFile · 0.45

Calls 2

withOperationClientMethod · 0.95
readRemoteFileFunction · 0.70

Tested by

no test coverage detected