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

Method deleteSection

src/models/GitConfig.js:201–206  ·  view source on GitHub ↗
(section, subsection)

Source from the content-addressed store, hash-verified

199 }
200
201 async deleteSection(section, subsection) {
202 this.parsedConfig = this.parsedConfig.filter(
203 config =>
204 !(config.section === section && config.subsection === subsection)
205 )
206 }
207
208 async append(path, value) {
209 return this.set(path, value, true)

Callers 4

_deleteBranchFunction · 0.80
_deleteRemoteFunction · 0.80
test-GitConfig.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected