MCPcopy
hub / github.com/electerm/electerm / writeFile

Method writeFile

src/app/server/session-ftp.js:278–282  ·  view source on GitHub ↗
(remotePath, str, mode, client)

Source from the content-addressed store, hash-verified

276 }
277
278 async writeFile (remotePath, str, mode, client) {
279 return this.withOperationClient(currentClient => {
280 return writeRemoteFile(currentClient, remotePath, str, mode)
281 }, client)
282 }
283
284 async getFolderSize (folderPath, client) {
285 let size = 0

Callers 14

ftp.spec.jsFile · 0.45
createTestFilesFunction · 0.45
createTestFilesFunction · 0.45
BatchOpEditorFunction · 0.45
TermClass · 0.45
FileSectionClass · 0.45
downloadFunction · 0.45
touchFunction · 0.45

Calls 2

withOperationClientMethod · 0.95
writeRemoteFileFunction · 0.70

Tested by 2

createTestFilesFunction · 0.36
createTestFilesFunction · 0.36