MCPcopy Create free account
hub / github.com/isomorphic-git/isomorphic-git / getSubsections

Method getSubsections

src/models/GitConfig.js:195–199  ·  view source on GitHub ↗
(section)

Source from the content-addressed store, hash-verified

193 }
194
195 async getSubsections(section) {
196 return this.parsedConfig
197 .filter(config => config.isSection && config.section === section)
198 .map(config => config.subsection)
199 }
200
201 async deleteSection(section, subsection) {
202 this.parsedConfig = this.parsedConfig.filter(

Callers 4

_addRemoteFunction · 0.80
_listRemotesFunction · 0.80
test-GitConfig.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected