announce-port-to-file

swank.core.server

  • (announce-port-to-file file port)
Writes the given port number into a 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/core/server.clj:96 top

(defn announce-port-to-file
  "Writes the given port number into a file."
  ([#^String file port]
     (with-open [out (new java.io.FileWriter file)]
       (doto out
         (.write (str port "\n"))
         (.flush)))))
Vars in swank.core.server/announce-port-to-file: defn doto str with-open
Used in 0 other vars

Comments top

No comments for announce-port-to-file. Log in to add a comment.