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

Function getPath

src/models/GitConfig.js:118–122  ·  view source on GitHub ↗
(section, subsection, name)

Source from the content-addressed store, hash-verified

116}
117
118const getPath = (section, subsection, name) => {
119 return [lower(section), subsection, lower(name)]
120 .filter(a => a != null)
121 .join('.')
122}
123
124const normalizePath = path => {
125 const pathSegments = path.split('.')

Callers 2

normalizePathFunction · 0.85
constructorMethod · 0.85

Calls 1

lowerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…