From 8337d9f973ab470da32e36a8424b4d926b85278e Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 12 Sep 2020 01:25:27 -0400 Subject: [PATCH] checking in some various work --- paths/paths.go | 3 +++ 1 file changed, 3 insertions(+) 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