diff --git a/paths/paths.go b/paths/paths.go index 49a3e22..b007e20 100644 --- a/paths/paths.go +++ b/paths/paths.go @@ -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