MCPcopy Create free account
hub / github.com/bigcode-project/jupytercoder / generateOptions

Function generateOptions

src/diff.js:271–284  ·  view source on GitHub ↗
(options, defaults)

Source from the content-addressed store, hash-verified

269 }
270
271 function generateOptions(options, defaults) {
272 if (typeof options === 'function') {
273 defaults.callback = options;
274 } else if (options) {
275 for (var name in options) {
276 /* istanbul ignore else */
277 if (options.hasOwnProperty(name)) {
278 defaults[name] = options[name];
279 }
280 }
281 }
282
283 return defaults;
284 }
285
286 //
287 // Ranges and exceptions:

Callers 2

diffWordsFunction · 0.85
diffTrimmedLinesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected