checking in some various work
This commit is contained in:
parent
5b76d8b2ca
commit
8337d9f973
@ -8,6 +8,9 @@ import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
// Strings are, apparently, cast as pointers. A lot of the ptr ref/deref below is redundant.
|
||||
// Regardless, future-prooofing.
|
||||
|
||||
func ExpandHome(path *string) error {
|
||||
// Props to this guy.
|
||||
// https://stackoverflow.com/a/43578461/733214
|
||||
|
Loading…
Reference in New Issue
Block a user