MCPcopy Index your code
hub / github.com/nodegit/nodegit / lockOptionsOnRebase

Function lockOptionsOnRebase

lib/rebase.js:88–94  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

86// the options may be cleaned up and cause a segfault
87// when Rebase.prototype.commit is called.
88const lockOptionsOnRebase = (options) => (rebase) => {
89 Object.defineProperty(rebase, "options", {
90 value: options,
91 writable: false
92 });
93 return rebase;
94};
95
96/**
97 * Initializes a rebase

Callers 1

rebase.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…