MCPcopy Create free account
hub / github.com/breck7/scroll / setAndSave

Method setAndSave

ScrollSetCLI.js:51–56  ·  view source on GitHub ↗
(file, measurementPath, measurementValue)

Source from the content-addressed store, hash-verified

49 }
50
51 async setAndSave(file, measurementPath, measurementValue) {
52 const particle = this.getParticle(file)
53 particle.set(measurementPath, measurementValue)
54 const result = await this.formatAndSave(file, particle)
55 return result
56 }
57
58 async _formatAndSave(filePath, particle) {
59 const fusedFile = scrollFs.newFile(particle.toString(), filePath)

Callers

nothing calls this directly

Calls 3

getParticleMethod · 0.95
formatAndSaveMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected