I imagine pg_restore can execute the instructions on dump but don't write on disk. just like David said: "tell me what is going to happen but don't actually do it"
You may wish to respond to the actual points being made as to why separating out "writing" from "execution" doesn't provide meaningful value - especially not for the effort it would take.
David J.