MCPcopy
hub / github.com/strongloop/loopback / setupModifiedLocalCopyOfAlice

Function setupModifiedLocalCopyOfAlice

test/replication.rest.test.js:402–413  ·  view source on GitHub ↗
(done)

Source from the content-addressed store, hash-verified

400 // TODO(bajtos) verify conflict resolution
401
402 function setupModifiedLocalCopyOfAlice(done) {
403 // Replicate directly, bypassing REST+AUTH layers
404 replicateServerToLocal(function(err) {
405 if (err) return done(err);
406
407 LocalUser.updateAll(
408 {id: aliceId},
409 {fullname: 'Alice Smith'},
410 done,
411 );
412 });
413 }
414 });
415
416 const USER_PROPS = {

Callers

nothing calls this directly

Calls 2

replicateServerToLocalFunction · 0.85
doneFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…