MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / createInstance

Function createInstance

out/cli.cjs:74285–74294  ·  view source on GitHub ↗
(defaultConfig)

Source from the content-addressed store, hash-verified

74283 NetworkAuthenticationRequired: 511
74284};
74285Object.entries(HttpStatusCode).forEach(([key, value]) => {
74286 HttpStatusCode[value] = key;
74287});
74288var HttpStatusCode_default = HttpStatusCode;
74289
74290// node_modules/axios/lib/axios.js
74291function createInstance(defaultConfig) {
74292 const context = new Axios_default(defaultConfig);
74293 const instance = bind(Axios_default.prototype.request, context);
74294 utils_default.extend(instance, Axios_default.prototype, context, { allOwnKeys: true });
74295 utils_default.extend(instance, context, null, { allOwnKeys: true });
74296 instance.create = function create(instanceConfig) {
74297 return createInstance(mergeConfig(defaultConfig, instanceConfig));

Callers 1

cli.cjsFile · 0.85

Calls 3

bindFunction · 0.85
mergeConfigFunction · 0.85
extendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…