MCPcopy Index your code
hub / github.com/clojure/clojure / swapRoot

Method swapRoot

src/jvm/clojure/lang/Var.java:287–293  ·  view source on GitHub ↗
(Object root)

Source from the content-addressed store, hash-verified

285}
286
287synchronized void swapRoot(Object root){
288 validate(getValidator(), root);
289 Object oldroot = this.root;
290 this.root = root;
291 ++rev;
292 notifyWatches(oldroot,root);
293}
294
295synchronized public void unbindRoot(){
296 this.root = new Unbound(this);

Callers

nothing calls this directly

Calls 3

validateMethod · 0.80
notifyWatchesMethod · 0.80
getValidatorMethod · 0.65

Tested by

no test coverage detected