checking in some various work

This commit is contained in:
brent s. 2020-09-12 01:25:27 -04:00
parent 5b76d8b2ca
commit 8337d9f973
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 3 additions and 0 deletions

View File

@ -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