Skip to main content

of-file

function

rewrite-clj.zip/of-file

(of-file [f] [f opts])
Create and return zipper from all forms in Clojure/ClojureScript/EDN File `f`, and move to the first non-whitespace/non-comment child. See [[of-file*]] for same but with no automatic move. Optional `opts` can specify: - `:track-position?` set to `true` to enable ones-based row/column tracking, see [docs on position tracking](/doc/01-user-guide.adoc#position-tracking). - `:auto-resolve` specify a function to customize namespaced element auto-resolve behavior, see [docs on namespaced elements](/doc/01-user-guide.adoc#namespaced-elements)

No examples yet. Be the first to add one!