Public Vars

Back

expand-home (clj)

(source)

function

(expand-home f)
If `path` begins with a tilde (`~`), expand the tilde to the value of the `user.home` system property. If the `path` begins with a tilde immediately followed by some characters, they are assumed to be a username. This is expanded to the path to that user's home directory. This is (naively) assumed to be a directory with the same name as the user relative to the parent of the current value of `user.home`.

Examples