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

Function getConfigAll

src/api/getConfigAll.js:26–48  ·  view source on GitHub ↗
({
  fs,
  dir,
  gitdir = join(dir, '.git'),
  path,
})

Source from the content-addressed store, hash-verified

24 *
25 */
26export async function getConfigAll({
27 fs,
28 dir,
29 gitdir = join(dir, '.git'),
30 path,
31}) {
32 try {
33 assertParameter('fs', fs)
34 assertParameter('gitdir', gitdir)
35 assertParameter('path', path)
36
37 const fsp = new FileSystem(fs)
38 const updatedGitdir = await discoverGitdir({ fsp, dotgit: gitdir })
39 return await _getConfigAll({
40 fs: fsp,
41 gitdir: updatedGitdir,
42 path,
43 })
44 } catch (err) {
45 err.caller = 'git.getConfigAll'
46 throw err
47 }
48}

Callers 2

test-config.jsFile · 0.85

Calls 4

joinFunction · 0.90
assertParameterFunction · 0.90
discoverGitdirFunction · 0.90
_getConfigAllFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…