#tilde #home #unix #shell #home-dir

tilde-expand

perform shell-style tilde expansion of home directories in paths

1 unstable release

Uses old Rust 2015

0.1.1 Apr 19, 2016
0.1.0 Feb 21, 2016

#6 in #home-dir

38 downloads per month
Used in 4 crates

WTFPL license

3KB
60 lines

/// perform tilde-expansion, replacing an initial ~ or ~username with that username's home directory as determined by getpwnam fn tilde_expand(s: &[u8]) -> Vec { ... }

Released under the WTFPL.

Dependencies

~44KB