1.2.0 permalink Arrow_down_16x16



  • (relative-path-name parent file)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/loader.clj:36 top

(defn relative-path-name [#^File parent #^File file]
  (let [file-name (str file)
        parent-name (str parent)]
    (when (.startsWith file-name parent-name)
      (.substring file-name (inc (.length parent-name))))))
Vars in swank.loader/relative-path-name: defn inc let when
Used in 0 other vars

Comments top

No comments for relative-path-name. Log in to add a comment.