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

Function addUserConfig

__tests__/test-stash.js:43–52  ·  view source on GitHub ↗
(fs, dir, gitdir)

Source from the content-addressed store, hash-verified

41}
42
43const addUserConfig = async (fs, dir, gitdir) => {
44 await setConfig({ fs, dir, gitdir, path: 'user.name', value: 'stash tester' })
45 await setConfig({
46 fs,
47 dir,
48 gitdir,
49 path: 'user.email',
50 value: 'test@stash.com',
51 })
52}
53
54const stashChanges = async (
55 fs,

Callers 2

stashChangesFunction · 0.70
test-stash.jsFile · 0.70

Calls 1

setConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…