checking in some various work
This commit is contained in:
1 file changed
+3
@@ -8,6 +8,9 @@ import (
|
|||||||
"path/filepath"
|
"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 {
|
func ExpandHome(path *string) error {
|
||||||
// Props to this guy.
|
// Props to this guy.
|
||||||
// https://stackoverflow.com/a/43578461/733214
|
// https://stackoverflow.com/a/43578461/733214
|
||||||
|
|||||||
Reference in new issue
Block a user