Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. ...
  2. (with-open [fs (create-filesystem)]
  3. (let [root (.getFile fs path)]
  4. (is (.isDirectory root))
  5. (is (.isComplete root)))
  6. (let [suc (.getFile fs (str path "/_SUCCESS"))]
  7. (is (.isFile suc))
  8. (is (.isComplete suc))))
  9.  
  10. (.. (.getFile fs path)
  11. (.setPath path2)
  12. (.setName name2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement