MCPcopy Create free account
hub / github.com/VemtoOrg/vemto2 / convertFileToArray

Method convertFileToArray

tests/base/TestHelper.js:397–400  ·  view source on GitHub ↗
(fileContent)

Source from the content-addressed store, hash-verified

395 }
396
397 convertFileToArray(fileContent) {
398 return fileContent.split('\n')
399 .map(line => line.trim())
400 }
401
402 arraysAreEqual(firstArray, secondArray) {
403 if (!firstArray || !secondArray) return false

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected