dbmigrate icon indicating copy to clipboard operation
dbmigrate copied to clipboard

Handle ~ in path

Open Keats opened this issue 9 years ago • 2 comments

So i can use a path like ~/code/migrations

Keats avatar Nov 03 '16 10:11 Keats

Try this: https://doc.rust-lang.org/std/path/struct.Path.html#method.canonicalize and https://doc.rust-lang.org/std/env/fn.home_dir.html

Example https://repl.it/NbSE/2

?

haze avatar Nov 01 '17 22:11 haze

Ah interesting thanks!

Keats avatar Nov 03 '17 07:11 Keats