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

Method newFile

external/.scrollLibs.js:21916–21918  ·  view source on GitHub ↗
(codeAtStart, absoluteFilePath)

Source from the content-addressed store, hash-verified

21914 if (standardParserDirectory) this._loadDefaultParser()
21915 }
21916 newFile(codeAtStart, absoluteFilePath) {
21917 return new this.defaultFileClass(codeAtStart, absoluteFilePath, this)
21918 }
21919 _loadDefaultParser() {
21920 const { standardParserDirectory } = this
21921 const defaultParserFiles = Disk.getFiles(standardParserDirectory).filter(file => file.endsWith(PARSERS_EXTENSION))

Callers 3

_formatAndSaveMethod · 0.80
scrollToHtmlMethod · 0.80
scroll.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected