MCPcopy
hub / github.com/webpack/webpack / onMove

Function onMove

test/configCases/inner-graph/issue-11678/module.js:281–297  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279 }
280}
281async function onMove() {
282 if (_parentTableSelection) {
283 const id = _parentTableSelection.job_jobid;
284 const ok = await movePosition(
285 _getModuleName(),
286 id,
287 1,
288 1,
289 _parentTableSelection,
290 _getListofSelectedRow(),
291 _staticData
292 );
293 if (ok) {
294 await _updateTableContent();
295 }
296 }
297}
298async function onDefineLayout() {
299 const pk = getPKFromSelection();
300 if (pk !== null) {

Callers

nothing calls this directly

Calls 3

_getModuleNameFunction · 0.85
_getListofSelectedRowFunction · 0.85
_updateTableContentFunction · 0.85

Tested by

no test coverage detected