#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

#1601 in Filesystem

Download history 33/week @ 2024-03-13 39/week @ 2024-03-20 61/week @ 2024-03-27 52/week @ 2024-04-03 26/week @ 2024-04-10 36/week @ 2024-04-17 66/week @ 2024-04-24 103/week @ 2024-05-01 54/week @ 2024-05-08 71/week @ 2024-05-15 21/week @ 2024-05-22 39/week @ 2024-05-29 26/week @ 2024-06-05 27/week @ 2024-06-12 40/week @ 2024-06-19 38/week @ 2024-06-26

133 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

~43KB